MCPcopy Create free account
hub / github.com/Unpackerr/unpackerr / buildStatusReason

Function buildStatusReason

pkg/unpackerr/apps.go:203–217  ·  view source on GitHub ↗
(status string, messages []*starr.StatusMessage)

Source from the content-addressed store, hash-verified

201}
202
203func buildStatusReason(status string, messages []*starr.StatusMessage) string {
204 var output string
205
206 for idx := range messages {
207 for _, msg := range messages[idx].Messages {
208 if output != "" {
209 output += "; "
210 }
211
212 output += msg
213 }
214 }
215
216 return status + ": " + output
217}

Callers 5

checkWhisparrQueueMethod · 0.85
checkLidarrQueueMethod · 0.85
checkSonarrQueueMethod · 0.85
checkRadarrQueueMethod · 0.85
checkReadarrQueueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected