fly: print invalid identifier warnings after set-pipeline diff
concourse/concourse#5810
@@ -66,12 +66,12 @@ func (atcConfig ATCConfig) Set(yamlTemplateWithParams templatehelpers.YamlTempla
})
}
+ diffExists := diff(existingConfig, newConfig)
+
if len(atcConfig.CommandWarnings) > 0 {
displayhelpers.ShowWarnings(atcConfig.CommandWarnings)
}
- diffExists := diff(existingConfig, newConfig)
-
if !diffExists {
fmt.Println("no changes to apply")
return nil
