Merge "Add expected exception to aggregate_metadata_delete()"
This commit is contained in:
commit
276fded497
@ -118,6 +118,7 @@ class ConductorManager(manager.SchedulerDependentManager):
|
||||
metadata, set_delete)
|
||||
return jsonutils.to_primitive(new_metadata)
|
||||
|
||||
@rpc_common.client_exceptions(exception.AggregateMetadataNotFound)
|
||||
def aggregate_metadata_delete(self, context, aggregate, key):
|
||||
self.db.aggregate_metadata_delete(context.elevated(),
|
||||
aggregate['id'], key)
|
||||
|
Loading…
Reference in New Issue
Block a user