mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
Cleanup the code with new engine-api
This commit is contained in:
@@ -92,7 +92,7 @@ func SetDefaults_ContainerPort(obj *ContainerPort) {
|
||||
func SetDefaults_Container(obj *Container) {
|
||||
if obj.ImagePullPolicy == "" {
|
||||
// Ignore error and assume it has been validated elsewhere
|
||||
_, tag, _ := parsers.ParseImageName(obj.Image)
|
||||
_, tag, _, _ := parsers.ParseImageName(obj.Image)
|
||||
|
||||
// Check image tag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user