Merge "Fix invalid argument formatting in the exception message"
This commit is contained in:
commit
54d0a7c2d3
@ -258,8 +258,8 @@ def upgrade_resource_types(conf):
|
||||
|
||||
gnocchi_version = version.LooseVersion(gnocchi.build.get())
|
||||
if gnocchi_version < REQUIRED_VERSION:
|
||||
raise Exception("required gnocchi version is %s, got %s",
|
||||
REQUIRED_VERSION, gnocchi_version)
|
||||
raise Exception("required gnocchi version is %s, got %s" %
|
||||
(REQUIRED_VERSION, gnocchi_version))
|
||||
|
||||
for name, attributes in resources_initial.items():
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user