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 {
 | 	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 { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue