Skip to content

Commit

Permalink
explicit ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
drgrib committed May 21, 2020
1 parent c4b4002 commit c8c1c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ func (t *Timer) Start(d time.Duration) {
almostDur := time.Duration(almostSec) * time.Second
<-AfterWallClock(almostDur)
message := Sprintf("%v left", t.left)
notify.Push(
_ = notify.Push(
"", message, "", notificator.UR_CRITICAL)
}()
}
// set and execute notify
go func() {
<-AfterWallClock(t.duration)
notify.Push(
_ = notify.Push(
"", "Finished", "", notificator.UR_CRITICAL)
}()
}
Expand Down

0 comments on commit c8c1c69

Please sign in to comment.