Skip to content

Commit

Permalink
add more logging to rest api stopJobByRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
spacehamster87 committed Oct 29, 2024
1 parent ae327f5 commit f5cc5d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ func (api *RestApi) stopJobByRequest(rw http.ResponseWriter, r *http.Request) {
return
}

log.Printf("loading db job from request for stopJobByRequest... : jobId=%d, cluster=%s, startTime=%d", *req.JobId, *req.Cluster, *req.StartTime)
job, err = api.JobRepository.Find(req.JobId, req.Cluster, req.StartTime)

if err != nil {
Expand Down

0 comments on commit f5cc5d0

Please sign in to comment.