This commit is contained in:
crusader 2018-09-17 20:27:04 +09:00
parent efde760f25
commit 1a3a18f2b2

View File

@ -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
} }
} }