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.

Consul Graceful Leave #236

@iamjazzar

Description

@iamjazzar

Is there any way I can perform a graceful leave and shutdown for consul agent using this library that performs the following action?

$ curl \
    --request PUT \
    http://127.0.0.1:8500/v1/agent/leave

Also, when I tried to use force_leave in version 1.1.0, the server responded with 405 because that version still uses get method instead of put (here). Is there any upcoming release that will include this fix?

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