Update k8s dependencies to v1.22.0-rc.0
This commit is contained in:
4
vendor/github.com/spf13/cobra/custom_completions.go
generated
vendored
4
vendor/github.com/spf13/cobra/custom_completions.go
generated
vendored
@@ -527,13 +527,13 @@ func CompDebug(msg string, printToStdErr bool) {
|
||||
os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
|
||||
if err == nil {
|
||||
defer f.Close()
|
||||
f.WriteString(msg)
|
||||
WriteStringAndCheck(f, msg)
|
||||
}
|
||||
}
|
||||
|
||||
if printToStdErr {
|
||||
// Must print to stderr for this not to be read by the completion script.
|
||||
fmt.Fprintf(os.Stderr, msg)
|
||||
fmt.Fprint(os.Stderr, msg)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user