MCPcopy Create free account
hub / github.com/cloudfoundry/cli / ShouldCreateDeployment

Function ShouldCreateDeployment

actor/v7pushaction/sequence.go:23–25  ·  view source on GitHub ↗
(plan PushPlan)

Source from the content-addressed store, hash-verified

21}
22
23func ShouldCreateDeployment(plan PushPlan) bool {
24 return plan.Strategy != ""
25}
26
27func ShouldStopApplication(plan PushPlan) bool {
28 return plan.NoStart && plan.Application.State == constant.ApplicationStarted

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected