Merge "Provide two arguments to exception's message"
This commit is contained in:
@@ -106,7 +106,8 @@ class GnocchiHelper(base.DataSourceBase):
|
||||
f=self.gnocchi.resource.search, **kwargs)
|
||||
|
||||
if not resources:
|
||||
raise exception.ResourceNotFound(name=resource_id)
|
||||
raise exception.ResourceNotFound(name='gnocchi',
|
||||
id=resource_id)
|
||||
|
||||
resource_id = resources[0]['id']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user