Skip to content

Commit

Permalink
Merge the job exec functions into core.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Mar 13, 2024
1 parent 602baf8 commit 500e7a5
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 125 deletions.
2 changes: 1 addition & 1 deletion cmd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func handleCancelGroupJob(w http.ResponseWriter, r *http.Request) {
)

// Get state of group.
if err := co.CancelGroupJob(groupID, purge); err != nil {
if err := co.CancelJobGroup(groupID, purge); err != nil {
sendErrorResponse(w, err.Error(), http.StatusInternalServerError)
return
}
Expand Down
Loading

0 comments on commit 500e7a5

Please sign in to comment.