Merge pull request #129483 from pacoxu/fix-no-sandbox

kubeadm: should not warn on non-detect sandbox image
This commit is contained in:
Kubernetes Prow Robot
2025-01-07 05:06:36 +01:00
committed by GitHub

View File

@@ -293,5 +293,9 @@ func (runtime *CRIRuntime) SandboxImage() (string, error) {
return "", errors.Wrap(err, "failed to unmarshal CRI info config")
}
if c.SandboxImage == "" {
return "", errors.New("no 'sandboxImage' field in CRI info config")
}
return c.SandboxImage, nil
}