From 2ca921b03abfc29326e95344d8a7e46e6ad23942 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 20 Mar 2019 14:31:46 +0100 Subject: [PATCH] Fix linting error Fixes; manager/allocator/network.go:186::error: Entry.Errorf format %s has arg nc.ingressNetwork.Spec.Annotations of wrong type github.com/docker/swarmkit/api.Annotations (vet) Signed-off-by: Sebastiaan van Stijn --- manager/allocator/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/allocator/network.go b/manager/allocator/network.go index d60f25f016..fee3bf1d44 100644 --- a/manager/allocator/network.go +++ b/manager/allocator/network.go @@ -184,7 +184,7 @@ func (a *Allocator) doNetworkAlloc(ctx context.Context, ev events.Event) { } if IsIngressNetwork(n) && nc.ingressNetwork != nil { log.G(ctx).Errorf("Cannot allocate ingress network %s (%s) because another ingress network is already present: %s (%s)", - n.ID, n.Spec.Annotations.Name, nc.ingressNetwork.ID, nc.ingressNetwork.Spec.Annotations) + n.ID, n.Spec.Annotations.Name, nc.ingressNetwork.ID, nc.ingressNetwork.Spec.Annotations.Name) break }