pull/14950/head
Steven Powell 2022-09-13 13:53:24 -07:00
parent 27abc8a98b
commit 3d8bf996f8
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ func (d *Driver) RunQMPCommand(command string) (map[string]interface{}, error) {
} }
var response qmpResponse var response qmpResponse
if err := json.Unmarshal(buf[:nr], &response); err != nil { if err := json.Unmarshal(buf[:nr], &response); err != nil {
return nil, errors.Wrap(err, "unmarshal qmp_capabilities reponse") return nil, errors.Wrap(err, "unmarshal qmp_capabilities response")
} }
// expecting empty response // expecting empty response
if len(response.Return) != 0 { if len(response.Return) != 0 {