diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-04 11:20:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 11:20:12 -0400 |
commit | 89e60648404bfbcf9ea8d5cb84c01c1f5e72a890 (patch) | |
tree | b8d714804faa0a6b6f826908170e103470a11993 /pkg/machine/qemu/machine.go | |
parent | 3210a3f4257d19744abd4ae2302018b16edb2507 (diff) | |
parent | bea8301a8688073a03651ea23ff19bb760ec9e34 (diff) | |
download | podman-89e60648404bfbcf9ea8d5cb84c01c1f5e72a890.tar.gz podman-89e60648404bfbcf9ea8d5cb84c01c1f5e72a890.tar.bz2 podman-89e60648404bfbcf9ea8d5cb84c01c1f5e72a890.zip |
Merge pull request #14111 from openshift-cherrypick-robot/cherry-pick-14099-to-v4.1
[v4.1] Implement --format for machine inspect
Diffstat (limited to 'pkg/machine/qemu/machine.go')
-rw-r--r-- | pkg/machine/qemu/machine.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go index 91e15c2af..fe33e580c 100644 --- a/pkg/machine/qemu/machine.go +++ b/pkg/machine/qemu/machine.go @@ -525,10 +525,11 @@ func (v *MachineVM) Start(name string, _ machine.StartOptions) error { time.Sleep(wait) wait++ } - defer qemuSocketConn.Close() if err != nil { return err } + defer qemuSocketConn.Close() + fd, err := qemuSocketConn.(*net.UnixConn).File() if err != nil { return err |