def _watcher_start(self, body): address = '%s:%s' % (body['host'], body['port']) self.address = address if self.watcher: self.watcher.stop() self.watcher = TopologyWatcher( update_handler=self.update_handler, rest_error_handler=self.rest_error_handler) self.watcher.start(address)