Merge pull request #8213 from chrisroberts/f-winrm-busy-loop
Prevent busy loop while waiting for WinRM connection
This commit is contained in:
commit
26ab75ea34
@ -95,8 +95,8 @@ func (s *StepConnectWinRM) waitForWinRM(state multistep.StateBag, ctx context.Co
|
||||
return nil, errors.New("WinRM wait cancelled")
|
||||
case <-time.After(5 * time.Second):
|
||||
}
|
||||
first = false
|
||||
}
|
||||
first = false
|
||||
|
||||
host, err := s.Host(state)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user