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 <neolit123@gmail.com>
applied ammend for:
  pkg/cloudprovider/provivers/vsphere/nodemanager.go

Kubernetes-commit: 2bd91dda64b857ed2f45542a7aae42f855e931d1
This commit is contained in:
Russ Cox 2018-06-29 15:38:52 -04:00 committed by Kubernetes Publisher
parent b7a5450fca
commit 58e15f2129
1 changed files with 1 additions and 1 deletions

View File

@ -166,5 +166,5 @@ func NewInternalError(reason string) InternalError {
} }
func NewInternalErrorf(format string, a ...interface{}) InternalError { func NewInternalErrorf(format string, a ...interface{}) InternalError {
return InternalError{fmt.Sprintf(format, a)} return InternalError{fmt.Sprintf(format, a...)}
} }