mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-18 17:00:24 +00:00
In some storage tests, kubelet is stopped first and the test check node NotReady state. However, if it fails to have this state, kubelet could not be restarted because the defer function is placed after the stop kubelet command. This PR fixes this issue.