fix typo
parent
27abc8a98b
commit
3d8bf996f8
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue