From f5cc5d07fd1e60b915eddaa898e639634a6f1086 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Tue, 29 Oct 2024 17:01:05 +0100 Subject: [PATCH] add more logging to rest api stopJobByRequest --- internal/api/rest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/rest.go b/internal/api/rest.go index f143a7fd..d38a94d8 100644 --- a/internal/api/rest.go +++ b/internal/api/rest.go @@ -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 {