From 14a71772f579250caab630d5bf6996b503a65b76 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 5 Jul 2018 04:07:45 -0700 Subject: [PATCH] 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 Signed-off-by: Sebastiaan van Stijn Upstream-commit: a9a136572dc2a2c2ec5da320c4d0a32b5a15c550 Component: engine --- .../engine/daemon/cluster/controllers/plugin/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/daemon/cluster/controllers/plugin/controller.go b/components/engine/daemon/cluster/controllers/plugin/controller.go index 6d7606aa84..371f918d39 100644 --- a/components/engine/daemon/cluster/controllers/plugin/controller.go +++ b/components/engine/daemon/cluster/controllers/plugin/controller.go @@ -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: