Ensure agents recieve the correct params for delete_domain calls
This commit is contained in:
parent
b492ac5f05
commit
e9c8e1c18c
|
@ -94,7 +94,7 @@ class Service(rpc_service.Service):
|
|||
def delete_domain(self, context, domain_id):
|
||||
domain = self.database.get_domain(context, domain_id)
|
||||
|
||||
agent_api.delete_domain(context, domain_id)
|
||||
agent_api.delete_domain(context, domain)
|
||||
utils.notify(context, 'api', 'domain.delete', domain)
|
||||
|
||||
return self.database.delete_domain(context, domain_id)
|
||||
|
|
Loading…
Reference in New Issue