MCPcopy
hub / github.com/grafana/tempo / IsFailed

Method IsFailed

modules/backendscheduler/work/job.go:53–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (j *Job) IsFailed() bool {
54 j.mtx.Lock()
55 defer j.mtx.Unlock()
56 return j.Status == tempopb.JobStatus_JOB_STATUS_FAILED
57}
58
59func (j *Job) IsPending() bool {
60 j.mtx.Lock()

Callers 1

TestStatusFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestStatusFunction · 0.76