def delete_domain(self, context, domain_id): domain = self.storage_conn.get_domain(context, domain_id) agent_api.delete_domain(context, domain) utils.notify(context, 'api', 'domain.delete', domain) return self.storage_conn.delete_domain(context, domain_id)
def delete_domain(self, *args, **kw): return agent_api.delete_domain(*args, **kw)