mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #79817 from tianyuansun/fix/golint-error
fix: golint error of clientgo
This commit is contained in:
commit
5b5301e9df
@ -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