Skip to content

Commit 2c5b34c

Browse files
committed
update comment ListJobs
1 parent b0459c5 commit 2c5b34c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/api/v1/shared/action.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
// ownerID != 0 and repoID == 0 means all jobs for the given user/org
2727
// ownerID != 0 and repoID != 0 undefined behavior
2828
// runID == 0 means all jobs
29+
// runID is used as an additional filter together with ownerID and repoID to only return jobs for the given run
2930
// Access rights are checked at the API route level
3031
func ListJobs(ctx *context.APIContext, ownerID, repoID, runID int64) {
3132
if ownerID != 0 && repoID != 0 {

0 commit comments

Comments
 (0)