mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix typo
This commit is contained in:
parent
ad6a9bb78e
commit
de1150385d
@ -223,7 +223,7 @@ func stopKubelet(host, workspace string) error {
|
|||||||
glog.Info("Wait for kubelet launcher to stop")
|
glog.Info("Wait for kubelet launcher to stop")
|
||||||
stopped := false
|
stopped := false
|
||||||
for start := time.Now(); time.Since(start) < kubeletStopGracePeriod; time.Sleep(time.Second) {
|
for start := time.Now(); time.Since(start) < kubeletStopGracePeriod; time.Sleep(time.Second) {
|
||||||
// Check whehther the process is still running.
|
// Check whether the process is still running.
|
||||||
output, err := SSH(host, "pidof", conformanceTestBinary, "||", "true")
|
output, err := SSH(host, "pidof", conformanceTestBinary, "||", "true")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to check kubelet stopping: error - %v output -%q",
|
return fmt.Errorf("failed to check kubelet stopping: error - %v output -%q",
|
||||||
|
Loading…
Reference in New Issue
Block a user