From 91bfc72a99477b6d611b13e225786e3ca7add10c Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 22 Dec 2017 06:09:33 -0600 Subject: Reduce logging data races, fix MySQL test race condition (#7994) * fix races * revert unintentional change * fix test as intended --- api4/job.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'api4/job.go') diff --git a/api4/job.go b/api4/job.go index 2a5134cd3..864d21bbb 100644 --- a/api4/job.go +++ b/api4/job.go @@ -6,13 +6,10 @@ package api4 import ( "net/http" - l4g "github.com/alecthomas/log4go" "github.com/mattermost/mattermost-server/model" ) func (api *API) InitJob() { - l4g.Info("Initializing job API routes") - api.BaseRoutes.Jobs.Handle("", api.ApiSessionRequired(getJobs)).Methods("GET") api.BaseRoutes.Jobs.Handle("", api.ApiSessionRequired(createJob)).Methods("POST") api.BaseRoutes.Jobs.Handle("/{job_id:[A-Za-z0-9]+}", api.ApiSessionRequired(getJob)).Methods("GET") -- cgit v1.2.3-1-g7c22