fix: handle chaos mode correctly for deploy
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Closes coop-cloud/organising#210.
This commit is contained in:
parent
07ffa08a07
commit
63318fb6ff
|
@ -81,7 +81,9 @@ recipes.
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
if !internal.Chaos {
|
||||||
logrus.Infof("choosing '%s' as version to deploy", version)
|
logrus.Infof("choosing '%s' as version to deploy", version)
|
||||||
if err := recipe.EnsureVersion(app.Type, version); err != nil {
|
if err := recipe.EnsureVersion(app.Type, version); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
|
|
Loading…
Reference in New Issue