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

Method HasFailed

api/cloudcontroller/ccv3/job.go:50–52  ·  view source on GitHub ↗

HasFailed returns true when the job has completed with an error/failure.

()

Source from the content-addressed store, hash-verified

48
49// HasFailed returns true when the job has completed with an error/failure.
50func (job Job) HasFailed() bool {
51 return job.State == constant.JobFailed
52}
53
54// IsComplete returns true when the job has completed successfully.
55func (job Job) IsComplete() bool {

Callers 3

PollJobForStateMethod · 0.80
PollJobToEventStreamMethod · 0.80
job_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected