Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Support Consul 1+ #178

Closed
Closed

Description

@scottybrisbane

Consul has now hit version 1.0.0, and as part of this release they have made the accepted HTTP verbs for various endpoints much stricter. This breaks (parts) of this library. The particular example I have found is that the agent.check.ttl_pass and agent.check.ttl_fail functions don't work as they use GET requests and those endpoints now only support PUT requests. I'm sure there will be more examples of breakages caused by this change.

Activity

  1. torpedoallen commented on Nov 20, 2017

    @torpedoallen

    The method agent.service.deregister also requires PUT verb :((

  2. wido commented on Dec 8, 2017

    @wido

    I was just about to open a issue for this. Indeed, the ttl_pass function is failing me now

  3. nh2 commented on Feb 14, 2018

    @nh2

    Yes, /agent/check/pass/:check_id requires PUT, but ttl_pass() sends GET.

  4. nh2 commented on Feb 14, 2018

    @nh2

    I see that fixed in this PR, what's the status on that PR?

  5. cablehead commented on May 17, 2018

    @cablehead
    Collaborator

    #182 is finally merged. Please re-open if this is still an issue. Thanks @matusvalo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions