mirror of
https://github.com/containous/traefik.git
synced 2025-03-14 00:58:23 +03:00
Include missing key in error message for KV store
This commit is contained in:
parent
9c8e518423
commit
6bbac65f7e
@ -78,7 +78,7 @@ func (d *Datastore) watchChanges() error {
|
||||
stopCh := make(chan struct{})
|
||||
kvCh, err := d.kv.Watch(d.lockKey, stopCh, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("error while watching key %s: %v", d.lockKey, err)
|
||||
}
|
||||
safe.Go(func() {
|
||||
ctx, cancel := context.WithCancel(d.ctx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user