mirror of
https://github.com/fosrl/olm.git
synced 2026-02-23 21:36:40 +00:00
Remove annoying sleep and debug logs
This commit is contained in:
@@ -84,9 +84,6 @@ func configureWindows(interfaceName string, ip net.IP, ipNet *net.IPNet) error {
|
||||
return fmt.Errorf("netsh enable interface command failed: %v, output: %s", err, out)
|
||||
}
|
||||
|
||||
// delay 2 seconds
|
||||
time.Sleep(8 * time.Second)
|
||||
|
||||
// Wait for the interface to be up and have the correct IP
|
||||
err = waitForInterfaceUp(interfaceName, ip, 30*time.Second)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user