Move the Central rpcapi update_status to cast

Moves the update_status call (used by pool manager) to a cast.

Pool Manager doesn't actually do anything with the return value,
and causes another choke point.

Closes-Bug: #1445129

Change-Id: I385c950964b4b4374b2a4b5bfbd70e5b151dc813
This commit is contained in:
Graham Hayes 2015-04-16 18:48:42 +02:00
parent 50d73a94dc
commit b2b08a91bf

View File

@ -396,8 +396,8 @@ class CentralAPI(object):
LOG.info(_LI("update_status: Calling central's update_status "
"for %(domain_id)s : %(status)s : %(serial)s") %
{'domain_id': domain_id, 'status': status, 'serial': serial})
return self.client.call(context, 'update_status', domain_id=domain_id,
status=status, serial=serial)
self.client.cast(context, 'update_status', domain_id=domain_id,
status=status, serial=serial)
# Zone Ownership Transfers
def create_zone_transfer_request(self, context, zone_transfer_request):