mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-13 15:04:07 +00:00
Merge pull request #79817 from tianyuansun/fix/golint-error
fix: golint error of clientgo Kubernetes-commit: 5b5301e9df68ee50e43ccc16d6dfd74e491c94a5
This commit is contained in:
commit
2abfa8322d
@ -33,7 +33,7 @@ func MkTmpdir(prefix string) (string, error) {
|
||||
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.
|
||||
func MkTmpdirOrDie(prefix string) string {
|
||||
tmpDir, err := MkTmpdir(prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user