kubelet word mistake

This commit is contained in:
timchenxiaoyu 2017-02-25 22:15:53 +08:00
parent dbf5a40965
commit 34bf0bf1cd
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ def charm_status(kube_dns):
def update_kubelet_status(): def update_kubelet_status():
''' There are different states that the kubelt can be in, where we are ''' There are different states that the kubelet can be in, where we are
waiting for dns, waiting for cluster turnup, or ready to serve waiting for dns, waiting for cluster turnup, or ready to serve
applications.''' applications.'''
if (_systemctl_is_active('kubelet')): if (_systemctl_is_active('kubelet')):

View File

@ -214,7 +214,7 @@ func tearDownTestCase(c clientset.Interface, f *framework.Framework, ns string,
} }
// kubeletCommand performs `start`, `restart`, or `stop` on the kubelet running on the node of the target pod. // kubeletCommand performs `start`, `restart`, or `stop` on the kubelet running on the node of the target pod.
// Allowed kubeltOps are `kStart`, `kStop`, and `kRestart` // Allowed kubeletOps are `kStart`, `kStop`, and `kRestart`
func kubeletCommand(kOp kubeletOpt, c clientset.Interface, pod *v1.Pod) { func kubeletCommand(kOp kubeletOpt, c clientset.Interface, pod *v1.Pod) {
nodeIP, err := framework.GetHostExternalAddress(c, pod) nodeIP, err := framework.GetHostExternalAddress(c, pod)
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())