mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	kubeadm: should not warn on non-detect sandbox image
This commit is contained in:
		@@ -293,5 +293,9 @@ func (runtime *CRIRuntime) SandboxImage() (string, error) {
 | 
				
			|||||||
		return "", errors.Wrap(err, "failed to unmarshal CRI info config")
 | 
							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
 | 
						return c.SandboxImage, nil
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user