From 8f9ee3500021696181fe6c659a86be0f9a234d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Carvalho?= Date: Tue, 27 Mar 2018 10:27:58 -0300 Subject: [PATCH] ignore failures reading diff deploy --- deploy.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deploy.go b/deploy.go index 3a6fd08..aca0f42 100644 --- a/deploy.go +++ b/deploy.go @@ -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)