commit | 94c3db85b4cc1d4e078859834a761bcc9d988780 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Fri Jun 29 14:25:01 2012 -0300 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Fri Jul 13 13:46:55 2012 -0300 |
tree | 153a7261f23edf89dd341f5edf7a878a0775e56e | |
parent | f5b0d93bcba712e1864c71c2f298c59a94efaa79 [diff] |
qapi: input_type_enum(): fix error message The enum string is pointed to by 'enum_str' not 'name'. This bug causes the error message to be: { "error": { "class": "InvalidParameter", "desc": "Invalid parameter 'null'", "data": { "name": "null" } } } Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Amos Kong <akong@redhat.com>