Fix incorrect string format mapping
Change-Id: I07919b53036ce07eb4372f2479110d0bb81c9bbf
This commit is contained in:
parent
0d8aaa0325
commit
a3eeac27d2
|
@ -169,7 +169,7 @@ def cli_to_array(cli_query):
|
|||
'string', 'integer', 'float', 'datetime', 'boolean'):
|
||||
err = ('Invalid value type %(type)s, the type of value'
|
||||
'should be one of: integer, string, float, datetime,'
|
||||
' boolean.' % opt['type'])
|
||||
' boolean.' % opt)
|
||||
raise ValueError(err)
|
||||
opts.append(opt)
|
||||
return opts
|
||||
|
|
Loading…
Reference in New Issue