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())
|
gnocchi_version = version.LooseVersion(gnocchi.build.get())
|
||||||
if gnocchi_version < REQUIRED_VERSION:
|
if gnocchi_version < REQUIRED_VERSION:
|
||||||
raise Exception("required gnocchi version is %s, got %s",
|
raise Exception("required gnocchi version is %s, got %s" %
|
||||||
REQUIRED_VERSION, gnocchi_version)
|
(REQUIRED_VERSION, gnocchi_version))
|
||||||
|
|
||||||
for name, attributes in resources_initial.items():
|
for name, attributes in resources_initial.items():
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue