Преглед изворни кода

do not break bluegreen if the tag is empty (#3181)

Feroze Mohideen пре 2 година
родитељ
комит
d35b7e6a58
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      cli/cmd/deploy/deploy.go

+ 1 - 1
cli/cmd/deploy/deploy.go

@@ -359,7 +359,7 @@ func (d *DeployAgent) UpdateImageAndValues(overrideValues map[string]interface{}
 
 	// only overwrite if the active tag value is not the same as the target tag. otherwise
 	// this has been modified already and inserted into overrideValues.
-	if activeBlueGreenTagVal != "" && activeBlueGreenTagVal != d.tag {
+	if activeBlueGreenTagVal != "" && activeBlueGreenTagVal != d.tag && d.tag != "" {
 		mergedValues["bluegreen"] = map[string]interface{}{
 			"enabled":                  true,
 			"disablePrimaryDeployment": true,