summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiall Mac Innes <kiall@hp.com>2013-09-01 19:11:41 +0100
committerKiall Mac Innes <kiall@hp.com>2013-09-01 19:11:41 +0100
commit6897dfd0aa781cfb05471119024f627daf486ee6 (patch)
tree76a52632fcd077c5b036f71a8dddf813d66c46cf
parent24ca94cda8ee756e2fba7e9b5b1dd0375100166e (diff)
downloaddesignate-6897dfd0aa781cfb05471119024f627daf486ee6.tar.gz
Central RPCAPI should call the correct sync methods
Change-Id: I77f00908400d434f9150843fc037005b44a07926
-rw-r--r--designate/central/rpcapi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/designate/central/rpcapi.py b/designate/central/rpcapi.py
index 459ab322..921a795e 100644
--- a/designate/central/rpcapi.py
+++ b/designate/central/rpcapi.py
@@ -283,13 +283,13 @@ class CentralAPI(rpc_proxy.RpcProxy):
def sync_domain(self, context, domain_id):
LOG.info("sync_domain: Calling central's sync_domains.")
- msg = self.make_msg('sync_domains', domain_id=domain_id)
+ msg = self.make_msg('sync_domain', domain_id=domain_id)
return self.call(context, msg)
def sync_record(self, context, domain_id, record_id):
- LOG.info("sync_record: Calling central's sync_domains.")
- msg = self.make_msg('sync_domains',
+ LOG.info("sync_record: Calling central's sync_record.")
+ msg = self.make_msg('sync_record',
domain_id=domain_id,
record_id=record_id)