Skip to content

Commit

Permalink
ignore failures reading diff deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrestc committed Mar 29, 2018
1 parent e34ef92 commit 8f9ee35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ func deploy(c tsuru.Client, appName string, fs Filesystem, executor exec.Executo
log.Fatal(err)
}
diff, firstDeploy, err := readDiffDeploy(fs)
if err != nil {
log.Fatal(err)
}
if !firstDeploy {
if !firstDeploy || err != nil {
err = c.SendDiffDeploy(diff, appName)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 8f9ee35

Please sign in to comment.