Skip to content

Commit

Permalink
Minor cleanup: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangpengzhao committed Nov 1, 2016
1 parent 482475e commit 829980d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ func (kl *Kubelet) GetClusterDNS(pod *api.Pod) ([]string, []string, error) {
// * Call the container runtime's SyncPod callback
// * Update the traffic shaping for the pod's ingress and egress limits
//
// If any step if this workflow errors, the error is returned, and is repeated
// If any step of this workflow errors, the error is returned, and is repeated
// on the next syncPod call.
func (kl *Kubelet) syncPod(o syncPodOptions) error {
// pull out the required options
Expand Down Expand Up @@ -1494,7 +1494,7 @@ func (kl *Kubelet) deletePod(pod *api.Pod) error {
return nil
}

// handleOutOfDisk detects if pods can't fit due to lack of disk space.
// isOutOfDisk detects if pods can't fit due to lack of disk space.
func (kl *Kubelet) isOutOfDisk() bool {
// Check disk space once globally and reject or accept all new pods.
withinBounds, err := kl.diskSpaceManager.IsRuntimeDiskSpaceAvailable()
Expand Down Expand Up @@ -1851,7 +1851,7 @@ func (kl *Kubelet) LatestLoopEntryTime() time.Time {
return val.(time.Time)
}

// PLEGHealthCheck returns whether the PLEG is healty.
// PLEGHealthCheck returns whether the PLEG is healthy.
func (kl *Kubelet) PLEGHealthCheck() (bool, error) {
return kl.pleg.Healthy()
}
Expand Down

0 comments on commit 829980d

Please sign in to comment.