From fd7389218f4e6cb5c1a49f1f86c27c05eb21e4e9 Mon Sep 17 00:00:00 2001 From: onura Date: Tue, 30 Jan 2018 10:17:33 +0300 Subject: [PATCH] fix: decimal expected for a float value when printing ticker is running info text. --- modules/ticker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticker.go b/modules/ticker.go index 9692a80a..5114806e 100644 --- a/modules/ticker.go +++ b/modules/ticker.go @@ -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 {