Fix invalid argument formatting in the exception message
This is to fix invalid argument formatting in the exception message. Change-Id: I5b6046b4c54575a0a3cf5f3721bf5813bb1102ad
This commit is contained in:
parent
6d1fa48bca
commit
eea2f5c790
@ -344,7 +344,7 @@ def create_run_cmd(providers, inventories, traits):
|
||||
elif "resource provider inventory list" in args[1]:
|
||||
return pop_output(inventories)
|
||||
else:
|
||||
raise ValueError("{} not expected", args)
|
||||
raise ValueError("{} not expected" % args)
|
||||
|
||||
return dummy_run_command
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user