瀏覽代碼

remove commented lines

Alexander Belanger 5 年之前
父節點
當前提交
bf37c9cfea
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      cli/cmd/deploy/deploy.go

+ 0 - 12
cli/cmd/deploy/deploy.go

@@ -299,18 +299,6 @@ func (d *DeployAgent) UpdateImageAndValues(overrideValues map[string]interface{}
 		currImageSection["tag"] = d.tag
 	}
 
-	// if opts.Kind == "web" || opts.Kind == "worker" {
-	// 	mergedValues["image"] = map[string]interface{}{
-	// 		"repository": "public.ecr.aws/o1j4x7p4/hello-porter",
-	// 		"tag":        "latest",
-	// 	}
-	// } else if opts.Kind == "job" {
-	// 	mergedValues["image"] = map[string]interface{}{
-	// 		"repository": "public.ecr.aws/o1j4x7p4/hello-porter-job",
-	// 		"tag":        "latest",
-	// 	}
-	// }
-
 	bytes, err := json.Marshal(mergedValues)
 
 	if err != nil {