fix: add whitespace for drain error message

Signed-off-by: ahmed.g <ahmed.g@adjoe.io>

Kubernetes-commit: 487f83500faadc8ec972aa164b07940476288e2f
This commit is contained in:
TessaIO 2024-04-28 17:51:06 +02:00 committed by Kubernetes Publisher
parent 5ff591adc6
commit 3d99e3ab7e
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ func (o *DrainCmdOptions) RunDrain() error {
printObj(info.Object, o.Out)
} 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) {
fatal = append(fatal, err)