Compile fix
Go 1.11beta1 (rightfully) complains: > 15:38:37 daemon/cluster/controllers/plugin/controller.go:183: > Entry.Debugf format %#T has unrecognized flag # This debug print was added by commit 72c3bcf2a5. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: a9a136572dc2a2c2ec5da320c4d0a32b5a15c550 Component: engine
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
2a7994f372
commit
14a71772f5
@@ -180,7 +180,7 @@ func (p *Controller) Wait(ctx context.Context) error {
|
||||
case <-ctx.Done():
|
||||
return ctx.Err()
|
||||
case e := <-events:
|
||||
p.logger.Debugf("got event %#T", e)
|
||||
p.logger.Debugf("got event %T", e)
|
||||
|
||||
switch e.(type) {
|
||||
case plugin.EventEnable:
|
||||
|
||||
Reference in New Issue
Block a user