fix typo
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
5ba76eb911
commit
20b3cd5198
@ -141,7 +141,7 @@ func (m *kubeGenericRuntimeManager) getImageUser(image string) (*int64, string,
|
||||
|
||||
// isInitContainerFailed returns true under the following conditions:
|
||||
// 1. container has exited and exitcode is not zero.
|
||||
// 2. container in unknown state.
|
||||
// 2. container is in unknown state.
|
||||
// 3. container gets OOMKilled.
|
||||
func isInitContainerFailed(status *kubecontainer.Status) bool {
|
||||
// When oomkilled occurs, init container should be considered as a failure.
|
||||
|
Loading…
Reference in New Issue
Block a user