physical/consul: Fixing read of leader when standby. Fixes #178

This commit is contained in:
Armon Dadgar 2015-05-11 10:54:24 -07:00
parent 0cea01607b
commit 47cfc85079
1 changed files with 1 additions and 1 deletions

View File

@ -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