Skip to content

Commit

Permalink
Merge pull request #6200 from sbueringer/pr-fix-drain-panic
Browse files Browse the repository at this point in the history
🐛 Fix panic in node drain
  • Loading branch information
k8s-ci-robot authored Feb 24, 2022
2 parents c099b2e + def8e73 commit ad276cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/machine/machine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ func (r *Reconciler) drainNode(ctx context.Context, cluster *clusterv1.Cluster,
},
Out: writer{log.Info},
ErrOut: writer{func(msg string, keysAndValues ...interface{}) {
log.Error(nil, msg, keysAndValues)
log.Error(nil, msg, keysAndValues...)
}},
}

Expand Down

0 comments on commit ad276cb

Please # to comment.