fix: add whitespace for drain error message

Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
This commit is contained in:
TessaIO 2024-04-28 17:51:06 +02:00
parent 38c2a963b4
commit 487f83500f

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)