Uncomment code that was accidentally commented out
Signed-off-by: Anton Bretting <sajfer@gmail.com>
This commit is contained in:
		
							parent
							
								
									eb2419aa15
								
							
						
					
					
						commit
						ca7942c751
					
				|  | @ -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 { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue