mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
fix: add whitespace for drain error message
Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
This commit is contained in:
parent
38c2a963b4
commit
487f83500f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user