Closed sixtus closed 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)
$ SESSION=
;echo $SESSION;consul-cli kv-unlock --session=$SESSION test
Any idea? Using consul 0.6.0
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
Yes, seems to work now :+1:
$ 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