* lint all the things

* remove extra echo
Этот коммит содержится в:
Chris
2017-08-09 15:35:49 -05:00
коммит произвёл Christopher Speller
родитель 9309ad9d7a
Коммит ff0811e4a4
6 изменённых файлов: 22 добавлений и 43 удалений

Просмотреть файл

@@ -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 {

Просмотреть файл

@@ -28,7 +28,7 @@ func MakeTestScheduler(name string, jobType string) *TestScheduler {
func (scheduler *TestScheduler) Run() {
l4g.Debug("Scheduler %v: Started", scheduler.name)
defer func(){
defer func() {
l4g.Debug("Scheduler %v: Finished", scheduler.name)
scheduler.stopped <- true
}()