mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-07 22:02:42 +02:00
Uncomment code that was accidentally commented out
Signed-off-by: Anton Bretting <sajfer@gmail.com>
This commit is contained in:
committed by
Yusuke Kuoka
parent
eb2419aa15
commit
ca7942c751
+11
-11
@@ -1334,17 +1334,17 @@ func (a *App) apply(r *Run, c ApplyConfigProvider) (bool, bool, []error) {
|
||||
}
|
||||
}
|
||||
|
||||
// if len(releasesWithPreApply) > 0 {
|
||||
// msg := "Releases with preapply hooks: \n"
|
||||
// if infoMsg != nil {
|
||||
// msg = fmt.Sprintf("%s%s", *infoMsg, msg)
|
||||
// }
|
||||
// infoMsg = &msg
|
||||
// }
|
||||
// for _, release := range releasesWithPreApply {
|
||||
// tmp := fmt.Sprintf("%s %s (%s)", *infoMsg, release.Name, release.Chart)
|
||||
// infoMsg = &tmp
|
||||
// }
|
||||
if len(releasesWithPreApply) > 0 {
|
||||
msg := "Releases with preapply hooks: \n"
|
||||
if infoMsg != nil {
|
||||
msg = fmt.Sprintf("%s%s", *infoMsg, msg)
|
||||
}
|
||||
infoMsg = &msg
|
||||
}
|
||||
for _, release := range releasesWithPreApply {
|
||||
tmp := fmt.Sprintf("%s %s (%s)", *infoMsg, release.Name, release.Chart)
|
||||
infoMsg = &tmp
|
||||
}
|
||||
|
||||
if releasesToBeDeleted == nil && releasesToBeUpdated == nil && releasesWithPreApply == nil {
|
||||
if infoMsg != nil {
|
||||
|
||||
Reference in New Issue
Block a user