Uncomment code that was accidentally commented out

Signed-off-by: Anton Bretting <sajfer@gmail.com>
This commit is contained in:
Anton Bretting 2022-06-12 09:17:03 +02:00 committed by Yusuke Kuoka
parent eb2419aa15
commit ca7942c751
1 changed files with 11 additions and 11 deletions

View File

@ -1334,17 +1334,17 @@ func (a *App) apply(r *Run, c ApplyConfigProvider) (bool, bool, []error) {
} }
} }
// if len(releasesWithPreApply) > 0 { if len(releasesWithPreApply) > 0 {
// msg := "Releases with preapply hooks: \n" msg := "Releases with preapply hooks: \n"
// if infoMsg != nil { if infoMsg != nil {
// msg = fmt.Sprintf("%s%s", *infoMsg, msg) msg = fmt.Sprintf("%s%s", *infoMsg, msg)
// } }
// infoMsg = &msg infoMsg = &msg
// } }
// for _, release := range releasesWithPreApply { for _, release := range releasesWithPreApply {
// tmp := fmt.Sprintf("%s %s (%s)", *infoMsg, release.Name, release.Chart) tmp := fmt.Sprintf("%s %s (%s)", *infoMsg, release.Name, release.Chart)
// infoMsg = &tmp infoMsg = &tmp
// } }
if releasesToBeDeleted == nil && releasesToBeUpdated == nil && releasesWithPreApply == nil { if releasesToBeDeleted == nil && releasesToBeUpdated == nil && releasesWithPreApply == nil {
if infoMsg != nil { if infoMsg != nil {