Skip to content

Commit

Permalink
qemu: remove redundant code
Browse files Browse the repository at this point in the history
It looks to be left over due to merge conflicts.

Signed-off-by: Peng Tao <[email protected]>
  • Loading branch information
bergwolf committed Aug 3, 2018
1 parent 244917c commit 568b65c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions virtcontainers/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,21 +416,6 @@ func (q *qemu) createSandbox() error {
return fmt.Errorf("UUID should not be empty")
}

monitorSockPath, err := q.qmpSocketPath(q.id)
if err != nil {
return err
}

q.qmpMonitorCh = qmpChannel{
ctx: context.Background(),
path: monitorSockPath,
}

err = os.MkdirAll(filepath.Dir(monitorSockPath), dirMode)
if err != nil {
return err
}

qmpSockets, err := q.createQmpSocket()
if err != nil {
return err
Expand Down

0 comments on commit 568b65c

Please sign in to comment.