From 2a0e1dd9e200e63ec6853bf78b34a740011250a7 Mon Sep 17 00:00:00 2001 From: y00278980 Date: Fri, 16 Oct 2015 21:29:05 +0800 Subject: [PATCH] Fix some problems: 1. cluster/saltbase/pillar/README.md L8 quoted the wrong line number of cluster/gce/configure-vm.sh 2. spelling mistake of 'retruns' --- cluster/saltbase/pillar/README.md | 2 +- pkg/api/resource_helpers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/saltbase/pillar/README.md b/cluster/saltbase/pillar/README.md index 0273c3ff260..3b09c89a8b7 100644 --- a/cluster/saltbase/pillar/README.md +++ b/cluster/saltbase/pillar/README.md @@ -5,7 +5,7 @@ directory. The bulk of the pillars are hard to perceive from browsing this directory, though, because they are written into [cluster-params.sls](cluster-params.sls) at cluster inception. -* [cluster-params.sls](cluster-params.sls) is generated entirely at cluster inception. See e.g. [configure-vm.sh](../../gce/configure-vm.sh#L226) +* [cluster-params.sls](cluster-params.sls) is generated entirely at cluster inception. See e.g. [configure-vm.sh](../../gce/configure-vm.sh#L262) * [docker-images.sls](docker-images.sls) stores the Docker tags of the current Docker-wrapped server binaries, twiddling by the Salt install script * [logging.sls](logging.sls) defines the cluster log level * [mine.sls](mine.sls): defines the variables shared across machines in the Salt diff --git a/pkg/api/resource_helpers.go b/pkg/api/resource_helpers.go index 8a2948cf921..72f3c7f04db 100644 --- a/pkg/api/resource_helpers.go +++ b/pkg/api/resource_helpers.go @@ -66,7 +66,7 @@ func GetExistingContainerStatus(statuses []ContainerStatus, name string) Contain return ContainerStatus{} } -// IsPodReady retruns true if a pod is ready; false otherwise. +// IsPodReady returns true if a pod is ready; false otherwise. func IsPodReady(pod *Pod) bool { return IsPodReadyConditionTrue(pod.Status) }