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

Function ShouldStopApplication

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

Source from the content-addressed store, hash-verified

25}
26
27func ShouldStopApplication(plan PushPlan) bool {
28 return plan.NoStart && plan.Application.State == constant.ApplicationStarted
29}
30
31func ShouldSetDroplet(plan PushPlan) bool {
32 return !plan.NoStart || plan.DropletPath != ""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected