// Apply runs Apply on each App
Apply runs Apply on each App
// Apply runs Apply on each App
func (a Apps) Apply(configFile string) error {
	for _, app := range a {
		cmd, err := app.Apply(configFile)
		if err != nil {
			app.log.WithFields(logrus.Fields{
				"app":   app.Name,
				"cmd":   cmd,
				"error": err,
			}).Fatal("Failed running apply")
			return err
		}
	}
	return nil
}
func ( a Apps ) Apply ( configFile string ) error { for _ , app := range a { cmd , err := app . Apply ( configFile ) if err != nil { app . log . WithFields ( logrus . Fields { " " : app . Name , " " : cmd , " " : err , } ) . Fatal ( " " ) return err } } return nil }
Apply runs Apply on each App
Apply runs Apply on each App