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

Prevent busy loop while waiting for WinRM connection
This commit is contained in:
Adrien Delorme 2019-10-10 14:49:27 +02:00 committed by GitHub
commit 26ab75ea34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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