Selaa lähdekoodia

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 7 vuotta sitten
vanhempi
commit
a9a136572d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      daemon/cluster/controllers/plugin/controller.go

+ 1 - 1
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: