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

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