forked from coop-cloud/abra
fix: fix chaos mode for deployment
This commit is contained in:
parent
b22b63c2ba
commit
4b7ec6384c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue