fix: decimal expected for a float value when printing ticker is running info text.

This commit is contained in:
onura 2018-01-30 10:17:33 +03:00
parent 8e8e529744
commit fd7389218f

View file

@ -82,7 +82,7 @@ func (t *Ticker) Start() error {
t.SetRunning(true)
go func() {
log.Info("Ticker running with period %ds.", t.Period.Seconds())
log.Info("Ticker running with period %.fs.", t.Period.Seconds())
tick := time.Tick(t.Period)
for _ = range tick {
if t.Running() == false {