mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-14 20:04:13 -04:00
physical/consul: Fixing read of leader when standby. Fixes #178
This commit is contained in:
parent
03073c289d
commit
b5acfcddb8
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ func (c *ConsulBackend) LockWith(key, value string) (Lock, error) {
|
|||
}
|
||||
cl := &ConsulLock{
|
||||
client: c.client,
|
||||
key: key,
|
||||
key: c.path + key,
|
||||
lock: lock,
|
||||
}
|
||||
return cl, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue