Browse code

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>

Kir Kolyshkin authored on 2018/07/05 20:07:45
Showing 1 changed files
... ...
@@ -180,7 +180,7 @@ func (p *Controller) Wait(ctx context.Context) error {
180 180
 		case <-ctx.Done():
181 181
 			return ctx.Err()
182 182
 		case e := <-events:
183
-			p.logger.Debugf("got event %#T", e)
183
+			p.logger.Debugf("got event %T", e)
184 184
 
185 185
 			switch e.(type) {
186 186
 			case plugin.EventEnable: