misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-08-26 15:30:10 +02:00
commit cd0dcb63a4
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -79,7 +79,7 @@ func (t *Ticker) Start() error {
}
return t.SetRunning(true, func() {
log.Info("Ticker running with period %.fs.", t.Period.Seconds())
log.Info("ticker running with period %.fs.", t.Period.Seconds())
tick := time.NewTicker(t.Period)
for range tick.C {
if !t.Running() {