Rename uuid to topic

This appears to be the topic and not a uuid.

Change-Id: I191fcef543aa0879913fd965ebef0496b0163336
This commit is contained in:
Joshua Harlow
2014-02-25 18:27:53 -08:00
parent 3b1aab64d2
commit 92aa862b08
4 changed files with 15 additions and 15 deletions

View File

@@ -30,8 +30,8 @@ LOG = logging.getLogger(__name__)
class Server(object):
"""Server implementation that waits for incoming tasks requests."""
def __init__(self, uuid, exchange, executor, endpoints, **kwargs):
self._proxy = proxy.Proxy(uuid, exchange, self._on_message, **kwargs)
def __init__(self, topic, exchange, executor, endpoints, **kwargs):
self._proxy = proxy.Proxy(topic, exchange, self._on_message, **kwargs)
self._executor = executor
self._endpoints = dict([(endpoint.name, endpoint)
for endpoint in endpoints])