From 58e15f21291dcf35a26e596feeba110c641b5f5d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 29 Jun 2018 15:38:52 -0400 Subject: [PATCH] kubernetes: fix printf format errors These are all flagged by Go 1.11's more accurate printf checking in go vet, which runs as part of go test. Lubomir I. Ivanov applied ammend for: pkg/cloudprovider/provivers/vsphere/nodemanager.go Kubernetes-commit: 2bd91dda64b857ed2f45542a7aae42f855e931d1 --- pkg/storage/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/errors.go b/pkg/storage/errors.go index a4d134ac9..f73d47aed 100644 --- a/pkg/storage/errors.go +++ b/pkg/storage/errors.go @@ -166,5 +166,5 @@ func NewInternalError(reason string) InternalError { } func NewInternalErrorf(format string, a ...interface{}) InternalError { - return InternalError{fmt.Sprintf(format, a)} + return InternalError{fmt.Sprintf(format, a...)} }