Fix error print format
This is to fix the error print format of "%{query}s" and "%{resource_type}s". Change-Id: Ibf5dfcf4465246db4d49fb517b630a4c16dea05f
This commit is contained in:
parent
5f1abadf76
commit
ac586ddfd3
@ -530,8 +530,8 @@ class GnocchiPublisher(publisher.ConfigPublisherBase):
|
|||||||
return self._gnocchi.resource.search(
|
return self._gnocchi.resource.search(
|
||||||
resource_type, json.loads(query))
|
resource_type, json.loads(query))
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.error("Fail to search resource type %{resource_type}s "
|
LOG.error("Fail to search resource type %(resource_type)s "
|
||||||
"with '%{query}s'",
|
"with '%(query)s'",
|
||||||
{'resource_type': resource_type, 'query': query},
|
{'resource_type': resource_type, 'query': query},
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
return []
|
return []
|
||||||
|
Loading…
Reference in New Issue
Block a user