forked from coop-cloud/abra
more verbose update info
This commit is contained in:
parent
7dd32ddd25
commit
af6e4285e8
@ -78,7 +78,7 @@ var UpgradeAll = cli.Command{
|
||||
if recipeName != "" && (!chaos || internal.Force) {
|
||||
upgrade(cl, stackName, recipeName)
|
||||
} else {
|
||||
logrus.Debugf("Don't update %s due to missing recipe name or chaos deployment", stackName)
|
||||
logrus.Infof("Don't update %s due to missing recipe name or chaos deployment", stackName)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
@ -217,7 +217,7 @@ func upgrade(cl *dockerclient.Client, stackName string, recipeName string) {
|
||||
}
|
||||
|
||||
if len(availableUpgrades) == 0 {
|
||||
logrus.Debugf("no available upgrades, you're on latest (%s) ✌️", deployedVersion)
|
||||
logrus.Infof("no available upgrades for %s, you're on latest (%s)", stackName, deployedVersion)
|
||||
return
|
||||
}
|
||||
}
|
||||
@ -227,7 +227,7 @@ func upgrade(cl *dockerclient.Client, stackName string, recipeName string) {
|
||||
var chosenUpgrade string
|
||||
if len(availableUpgrades) > 0 {
|
||||
chosenUpgrade = availableUpgrades[len(availableUpgrades)-1]
|
||||
logrus.Debugf("choosing %s as version to upgrade to", chosenUpgrade)
|
||||
logrus.Infof("choosing %s as version to upgrade to", chosenUpgrade)
|
||||
}
|
||||
|
||||
if err := recipe.EnsureExists(recipeName); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user