Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Windows] Fix timeout value for EnableHostInterface (antrea-io#2081)
The second parameter to wait.PollImmediate (the timeout) is a time.Duration value. When using 5 as the parameter value, it is interpreted as 5ns, and not 5s. This means that EnableHostInterface basically never does any retry.
- Loading branch information