From ff0811e4a4f5189293b54a1d195eaec30b3e530f Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 9 Aug 2017 15:35:49 -0500 Subject: lint all the things (#7154) * lint all the things * remove extra echo --- jobs/jobs_watcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jobs/jobs_watcher.go') diff --git a/jobs/jobs_watcher.go b/jobs/jobs_watcher.go index 5892e3b1c..9ba68e85e 100644 --- a/jobs/jobs_watcher.go +++ b/jobs/jobs_watcher.go @@ -38,7 +38,7 @@ func (watcher *Watcher) Start() { rand.Seed(time.Now().UTC().UnixNano()) _ = <-time.After(time.Duration(rand.Intn(WATCHER_POLLING_INTERVAL)) * time.Millisecond) - defer func(){ + defer func() { l4g.Debug("Watcher Finished") watcher.stopped <- true }() @@ -69,7 +69,7 @@ func (watcher *Watcher) PollAndNotify() { for _, js := range jobStatuses { j := model.Job{ Type: js.Type, - Id: js.Id, + Id: js.Id, } if js.Type == model.JOB_TYPE_DATA_RETENTION { -- cgit v1.2.3-1-g7c22