more verbose update info

This commit is contained in:
Moritz 2023-01-26 21:59:38 +01:00
parent 8aac9e450d
commit 64417736b3
1 changed files with 3 additions and 3 deletions

View File

@ -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 {