more verbose update info
This commit is contained in:
@ -78,7 +78,7 @@ var UpgradeAll = cli.Command{
|
|||||||
if recipeName != "" && (!chaos || internal.Force) {
|
if recipeName != "" && (!chaos || internal.Force) {
|
||||||
upgrade(cl, stackName, recipeName)
|
upgrade(cl, stackName, recipeName)
|
||||||
} else {
|
} 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
|
return nil
|
||||||
@ -217,7 +217,7 @@ func upgrade(cl *dockerclient.Client, stackName string, recipeName string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(availableUpgrades) == 0 {
|
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
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -227,7 +227,7 @@ func upgrade(cl *dockerclient.Client, stackName string, recipeName string) {
|
|||||||
var chosenUpgrade string
|
var chosenUpgrade string
|
||||||
if len(availableUpgrades) > 0 {
|
if len(availableUpgrades) > 0 {
|
||||||
chosenUpgrade = availableUpgrades[len(availableUpgrades)-1]
|
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 {
|
if err := recipe.EnsureExists(recipeName); err != nil {
|
||||||
|
Reference in New Issue
Block a user