Merge pull request #124597 from TessaIO/fix-drain-error-message

fix: add whitespace to drain error message
This commit is contained in:
Kubernetes Prow Robot
2024-04-30 11:34:33 -07:00
committed by GitHub

View File

@@ -343,7 +343,7 @@ func (o *DrainCmdOptions) RunDrain() error {
printObj(info.Object, o.Out) printObj(info.Object, o.Out)
} else { } else {
fmt.Fprintf(o.ErrOut, "error: unable to drain node %q due to error:%s, continuing command...\n", info.Name, err) fmt.Fprintf(o.ErrOut, "error: unable to drain node %q due to error: %s, continuing command...\n", info.Name, err)
if !drainedNodes.Has(info.Name) { if !drainedNodes.Has(info.Name) {
fatal = append(fatal, err) fatal = append(fatal, err)