We always report "should be a dictionary" then. This is misleading: when allow_dict, it can be a dictionary or a type name string, else it can only be a type name. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
4 lines
115 B
JSON
4 lines
115 B
JSON
# FIXME error "should be a dictionary" is misleading, type name is also fine
|
|
{ 'command': 'foo',
|
|
'data': false }
|