Skip to content

Commit

Permalink
Merge pull request kubernetes#24823 from derekwaynecarr/fix-kubelet-typo
Browse files Browse the repository at this point in the history
Fix function name typo in kubelet
  • Loading branch information
roberthbailey committed May 6, 2016
2 parents 6c3ed90 + ec5670f commit 1474145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -3157,7 +3157,7 @@ func (kl *Kubelet) setNodeOODCondition(node *api.Node) {
var oldNodeUnschedulable bool

// record if node schedulable change.
func (kl *Kubelet) recordNodeSchdulableEvent(node *api.Node) {
func (kl *Kubelet) recordNodeSchedulableEvent(node *api.Node) {
if oldNodeUnschedulable != node.Spec.Unschedulable {
if node.Spec.Unschedulable {
kl.recordNodeStatusEvent(api.EventTypeNormal, kubecontainer.NodeNotSchedulable)
Expand Down Expand Up @@ -3195,7 +3195,7 @@ func (kl *Kubelet) defaultNodeStatusFuncs() []func(*api.Node) error {
withoutError(kl.setNodeStatusInfo),
withoutError(kl.setNodeOODCondition),
withoutError(kl.setNodeReadyCondition),
withoutError(kl.recordNodeSchdulableEvent),
withoutError(kl.recordNodeSchedulableEvent),
}
}

Expand Down

0 comments on commit 1474145

Please sign in to comment.