forked from coop-cloud/abra
fix: dont duplicate info output
This commit is contained in:
parent
c5f44cf340
commit
2fcdaca75f
@ -70,7 +70,7 @@ recipes.
|
||||
}
|
||||
if len(versions) > 0 {
|
||||
version = versions[len(versions)-1]
|
||||
logrus.Infof("choosing '%s' as version to deploy", version)
|
||||
logrus.Debugf("choosing '%s' as version to deploy", version)
|
||||
if err := recipe.EnsureVersion(app.Type, version); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
@ -83,8 +83,8 @@ recipes.
|
||||
}
|
||||
}
|
||||
|
||||
if !internal.Chaos {
|
||||
logrus.Infof("choosing '%s' as version to deploy", version)
|
||||
if version == "" && !internal.Chaos {
|
||||
logrus.Debugf("choosing '%s' as version to deploy", version)
|
||||
if err := recipe.EnsureVersion(app.Type, version); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user