diff --git a/watcher/datasource/gnocchi.py b/watcher/datasource/gnocchi.py index 41ae38b1d..a41f79277 100644 --- a/watcher/datasource/gnocchi.py +++ b/watcher/datasource/gnocchi.py @@ -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']