fix: chaos mode fixed for upgrade/rollback
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Follows 4b7ec6384c
.
This commit is contained in:
parent
69a7d37fb7
commit
b69ab0df65
|
@ -45,8 +45,10 @@ recipes.
|
||||||
app := internal.ValidateApp(c)
|
app := internal.ValidateApp(c)
|
||||||
stackName := app.StackName()
|
stackName := app.StackName()
|
||||||
|
|
||||||
if err := recipe.EnsureUpToDate(app.Type); err != nil {
|
if !internal.Chaos {
|
||||||
logrus.Fatal(err)
|
if err := recipe.EnsureUpToDate(app.Type); err != nil {
|
||||||
|
logrus.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
r, err := recipe.Get(app.Type)
|
r, err := recipe.Get(app.Type)
|
||||||
|
|
|
@ -48,8 +48,10 @@ recipes.
|
||||||
app := internal.ValidateApp(c)
|
app := internal.ValidateApp(c)
|
||||||
stackName := app.StackName()
|
stackName := app.StackName()
|
||||||
|
|
||||||
if err := recipe.EnsureUpToDate(app.Type); err != nil {
|
if !internal.Chaos {
|
||||||
logrus.Fatal(err)
|
if err := recipe.EnsureUpToDate(app.Type); err != nil {
|
||||||
|
logrus.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
r, err := recipe.Get(app.Type)
|
r, err := recipe.Get(app.Type)
|
||||||
|
|
Loading…
Reference in New Issue