Ver Fonte

re-add image pull

Alexander Belanger há 4 anos atrás
pai
commit
8e7a5912e4
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      cli/cmd/deploy/deploy.go

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

@@ -381,9 +381,7 @@ func (d *DeployAgent) pullCurrentReleaseImage() error {
 
 	fmt.Printf("attempting to pull image: %s\n", fmt.Sprintf("%s:%s", d.imageRepo, tagStr))
 
-	// return d.agent.PullImage(fmt.Sprintf("%s:%s", d.imageRepo, tagStr))
-
-	return nil
+	return d.agent.PullImage(fmt.Sprintf("%s:%s", d.imageRepo, tagStr))
 }
 
 func (d *DeployAgent) downloadRepoToDir(downloadURL string) (string, error) {