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:
parent
b7a5450fca
commit
58e15f2129
|
|
@ -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...)}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue