Merge pull request #11428 from guillaumerose/missingcheck

machine: always check error of net.Dial, even after last try
This commit is contained in:
OpenShift Merge Robot 2021-09-03 12:51:20 +02:00 committed by GitHub
commit af58cb15d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -278,6 +278,9 @@ func (v *MachineVM) Start(name string, _ machine.StartOptions) error {
time.Sleep(wait)
wait++
}
if err != nil {
return err
}
fd, err := qemuSocketConn.(*net.UnixConn).File()
if err != nil {