mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 21:36:24 +00:00
Merge pull request #124597 from TessaIO/fix-drain-error-message
fix: add whitespace to drain error message
This commit is contained in:
commit
dd68c5f240
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user