Skip to content

Commit ce53f87

Browse files
committed
Merge branch 'release/0.0.8'
2 parents a309589 + 0fbf1f9 commit ce53f87

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## History ##
22

3+
* v0.0.8 - all-jobs logs
34
* v0.0.7 - Now with root as health
45
* v0.0.6 - Corrected Call field order
56
* v0.0.5 - Now with listen port configuration

http/routes/all_jobs.go

+4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ func AllJobs(e *echo.Echo, services *core.Services) {
3030
// Get all Jobs within space
3131
// GET /jobs?space_guid=string
3232
e.GET("/jobs", func(c echo.Context) error {
33+
tag := "all-jobs"
34+
services.Logger.Info(tag, "trying to get all jobs")
35+
3336
auth := c.Request().Header.Get(echo.HeaderAuthorization)
3437

3538
if services.Auth.Verify(auth) != nil {
39+
services.Logger.Error(tag, "authentication to this endpoint failed")
3640
return c.JSON(http.StatusUnauthorized, "")
3741
}
3842

0 commit comments

Comments
 (0)