Skip to content

Commit

Permalink
Merge pull request #504 from openshift-cherrypick-robot/cherry-pick-4…
Browse files Browse the repository at this point in the history
…95-to-release-4.4

[release-4.4] Bug 1810531: Fix timeout formatting
  • Loading branch information
openshift-merge-robot committed Mar 6, 2020
2 parents 89c8787 + e5dda6a commit e7a0c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/machine/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (r *ReconcileMachine) drainNode(machine *machinev1.Machine) error {
}

if nodeIsUnreachable(node) {
klog.Infof("%q: Node %q is unreachable, draining will wait %q seconds after pod is signalled for deletion and skip after it",
klog.Infof("%q: Node %q is unreachable, draining will wait %d seconds after pod is signalled for deletion and skip after it",
machine.Name, node.Name, skipWaitForDeleteTimeoutSeconds)
drainer.SkipWaitForDeleteTimeoutSeconds = skipWaitForDeleteTimeoutSeconds
}
Expand Down

0 comments on commit e7a0c09

Please sign in to comment.