github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/actor/v7pushaction/handle_flag_overrides.go (about) 1 package v7pushaction 2 3 import ( 4 "code.cloudfoundry.org/cli/util/manifestparser" 5 ) 6 7 func (actor Actor) HandleFlagOverrides( 8 baseManifest manifestparser.Manifest, 9 flagOverrides FlagOverrides, 10 ) (manifestparser.Manifest, error) { 11 newManifest := baseManifest 12 13 for _, transformPlan := range actor.TransformManifestSequence { 14 var err error 15 newManifest, err = transformPlan(newManifest, flagOverrides) 16 if err != nil { 17 return manifestparser.Manifest{}, err 18 } 19 } 20 21 return newManifest, nil 22 }