happy linting
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build was killed

This commit is contained in:
Marvin Preuss 2021-08-11 14:24:29 +02:00
parent 36ce7028a0
commit b265231dca

View File

@ -14,6 +14,7 @@ import (
"google.golang.org/protobuf/types/known/durationpb"
)
// T is the global Timer object.
// nolint:gochecknoglobals
var T = &Timer{}
@ -38,7 +39,7 @@ func (t *Timer) Handle() {
Msg("timer is running")
if t.Req.Current.Seconds > 0 {
t.Req.Current.Seconds -= 1
t.Req.Current.Seconds--
return
}