Skip to content

Commit 64710fb

Browse files
committed
fix float to int
1 parent 2744123 commit 64710fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: throttler/throttler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type Config struct {
2424
Device string
2525
Stop bool
2626
Delay int
27-
DelayRandom float64
27+
DelayRandom int
2828
DelayCorrelation float64
2929
TargetBandwidth int
3030
DefaultBandwidth int

0 commit comments

Comments
 (0)