fix: fix chaos mode for deployment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2022-01-05 19:21:41 +01:00
parent b22b63c2ba
commit 4b7ec6384c
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 4 additions and 2 deletions

View File

@ -24,8 +24,10 @@ import (
func DeployAction(c *cli.Context) error {
app := ValidateApp(c)
if err := recipe.EnsureUpToDate(app.Type); err != nil {
logrus.Fatal(err)
if !Chaos {
if err := recipe.EnsureUpToDate(app.Type); err != nil {
logrus.Fatal(err)
}
}
r, err := recipe.Get(app.Type)