mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Merge pull request #129483 from pacoxu/fix-no-sandbox
kubeadm: should not warn on non-detect sandbox image
This commit is contained in:
commit
2e53799601
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user