Fix various typos in kubelet

This commit is contained in:
Andrey Kurilin
2016-08-03 01:13:54 +03:00
parent 8805bbba3f
commit 9f1c3a4c56
33 changed files with 59 additions and 59 deletions

View File

@@ -140,7 +140,7 @@ func TestRunOnce(t *testing.T) {
}
podManager.SetPods(pods)
// The original test here is totally meaningless, because fakeruntime will always return an empty podStatus. While
// the originial logic of isPodRunning happens to return true when podstatus is empty, so the test can always pass.
// the original logic of isPodRunning happens to return true when podstatus is empty, so the test can always pass.
// Now the logic in isPodRunning is changed, to let the test pass, we set the podstatus directly in fake runtime.
// This is also a meaningless test, because the isPodRunning will also always return true after setting this. However,
// because runonce is never used in kubernetes now, we should deprioritize the cleanup work.