Skip to content
Commit 94c3db85 authored by Luiz Capitulino's avatar Luiz Capitulino
Browse files

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: default avatarLuiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: default avatarAmos Kong <akong@redhat.com>
parent f5b0d93b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment