Title: Consul Graceful Leave · Issue #236 · python-consul/python-consul · GitHub
Open Graph Title: Consul Graceful Leave · Issue #236 · python-consul/python-consul
X Title: Consul Graceful Leave · Issue #236 · python-consul/python-consul
Description: 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 v...
Open Graph Description: 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 Al...
X Description: 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 Al...
Opengraph URL: https://github.com/python-consul/python-consul/issues/236
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consul Graceful Leave","articleBody":"Is there any way I can perform a graceful [leave and shutdown](https://www.consul.io/api/agent.html#graceful-leave-and-shutdown) for consul agent using this library that performs the following action?\r\n```bash\r\n$ curl \\\r\n --request PUT \\\r\n http://127.0.0.1:8500/v1/agent/leave\r\n```\r\nAlso, 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](https://github.com/cablehead/python-consul/blob/v1.1.0/consul/base.py#L806])). Is there any upcoming release that will include this fix?\r\n","author":{"url":"https://github.com/iamjazzar","@type":"Person","name":"iamjazzar"},"datePublished":"2018-09-20T07:21:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/236/python-consul/issues/236"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:059a3606-0d1d-1a54-48ce-6ac6fb1faec2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF02:258BE8:2A80C9B:3806088:696B2ECB |
| html-safe-nonce | 8725ae87372087dbb69fae7c42c5a5582d506d626a597b1c8f00f0811be8f975 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjAyOjI1OEJFODoyQTgwQzlCOjM4MDYwODg6Njk2QjJFQ0IiLCJ2aXNpdG9yX2lkIjoiNDM5MjgwNzUwNzQ3MDAwMzkxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 94f71d3eb147564fde5bcda891f2b95c334d5e3aca3d4b95c1f1a4d938d3b662 |
| hovercard-subject-tag | issue:362050676 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-consul/python-consul/236/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c97f83fd34f07b1c82a00fa34726f390a75f975d600c64de4c651f5ca52ff907/python-consul/python-consul/issues/236 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c97f83fd34f07b1c82a00fa34726f390a75f975d600c64de4c651f5ca52ff907/python-consul/python-consul/issues/236 |
| og:image:alt | 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 Al... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iamjazzar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-consul/python-consul git https://github.com/python-consul/python-consul.git |
| octolytics-dimension-user_id | 143416393 |
| octolytics-dimension-user_login | python-consul |
| octolytics-dimension-repository_id | 24473148 |
| octolytics-dimension-repository_nwo | python-consul/python-consul |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24473148 |
| octolytics-dimension-repository_network_root_nwo | python-consul/python-consul |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width