Skip to content

Commit

Permalink
Merge pull request #11428 from guillaumerose/missingcheck
Browse files Browse the repository at this point in the history
machine: always check error of net.Dial, even after last try
  • Loading branch information
openshift-merge-robot authored Sep 3, 2021
2 parents 0f49678 + 9099817 commit af58cb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/machine/qemu/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit af58cb1

Please sign in to comment.