mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

Lock doesn't seem to work right... #10

Closed sixtus closed 8 years ago

sixtus commented 8 years ago

$ SESSION=consul-cli kv-lock test;echo $SESSION;consul-cli kv-unlock --session=$SESSION test 3b6af3b6-04f7-087b-568f-cc7072246aa7 Unexpected response code: 500 (rpc error: missing session)

Any idea? Using consul 0.6.0

ChrisAubuchon commented 8 years ago

Looks like 0.6.0 changed unlocking behavior a bit. Looks to be a fairly simple fix though. PR https://github.com/CiscoCloud/consul-cli/pull/11

sixtus commented 8 years ago

Yes, seems to work now :+1: