1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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>
This commit is contained in:
Kir Kolyshkin 2018-07-05 04:07:45 -07:00 committed by Sebastiaan van Stijn
parent 3737194b9f
commit a9a136572d
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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: