mirror of
https://github.com/bettercap/bettercap
synced 2025-07-31 12:10:10 -07:00
fix: decimal expected for a float value when printing ticker is running info text.
This commit is contained in:
parent
8e8e529744
commit
fd7389218f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func (t *Ticker) Start() error {
|
||||||
|
|
||||||
t.SetRunning(true)
|
t.SetRunning(true)
|
||||||
go func() {
|
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)
|
tick := time.Tick(t.Period)
|
||||||
for _ = range tick {
|
for _ = range tick {
|
||||||
if t.Running() == false {
|
if t.Running() == false {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue