fix: golint error of clientgo

Kubernetes-commit: 853cf2d8969e49ffb5fe42c0d867edd2396e7a68
This commit is contained in:
suntianyuan 2019-07-05 11:37:02 +08:00 committed by Kubernetes Publisher
parent 39956190ba
commit 39b8e819a8

View File

@ -33,7 +33,7 @@ func MkTmpdir(prefix string) (string, error) {
return tmpDir, nil return tmpDir, nil
} }
// MkTmpdir does the same work as "MkTmpdir", except in case of // MkTmpdirOrDie does the same work as "MkTmpdir", except in case of
// errors, it'll trigger a panic. // errors, it'll trigger a panic.
func MkTmpdirOrDie(prefix string) string { func MkTmpdirOrDie(prefix string) string {
tmpDir, err := MkTmpdir(prefix) tmpDir, err := MkTmpdir(prefix)