Merge pull request #8213 from chrisroberts/f-winrm-busy-loop

Prevent busy loop while waiting for WinRM connection
pull/8219/head
Adrien Delorme 7 years ago committed by GitHub
commit 26ab75ea34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save