ing
This commit is contained in:
parent
efde760f25
commit
1a3a18f2b2
|
@ -39,7 +39,7 @@ func (o *PingOptions) Validate() {
|
||||||
o.Interval = 1
|
o.Interval = 1
|
||||||
}
|
}
|
||||||
if 0 >= o.Deadline {
|
if 0 >= o.Deadline {
|
||||||
o.Deadline = 0
|
o.Deadline = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user