From b2b08a91bf3065a54c80bceef99e989e9e879af5 Mon Sep 17 00:00:00 2001 From: Graham Hayes Date: Thu, 16 Apr 2015 18:48:42 +0200 Subject: [PATCH] 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 --- designate/central/rpcapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designate/central/rpcapi.py b/designate/central/rpcapi.py index 2d620fb5d..a424116f5 100644 --- a/designate/central/rpcapi.py +++ b/designate/central/rpcapi.py @@ -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):