Merge pull request #32 from onura/pr/ticker_print_type_mismatch

fix: decimal expected for a float value when printing ticker is runni…
This commit is contained in:
Simone Margaritelli 2018-01-30 10:29:32 +01:00 committed by GitHub
commit 1425c20b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {