mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
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:
commit
1425c20b72
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue