fix: fix chaos mode for deployment
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b22b63c2ba
commit
4b7ec6384c
|
@ -24,8 +24,10 @@ import (
|
||||||
func DeployAction(c *cli.Context) error {
|
func DeployAction(c *cli.Context) error {
|
||||||
app := ValidateApp(c)
|
app := ValidateApp(c)
|
||||||
|
|
||||||
if err := recipe.EnsureUpToDate(app.Type); err != nil {
|
if !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