summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-02-27 15:55:23 +0000
committerGerrit Code Review <review@openstack.org>2018-02-27 15:55:23 +0000
commit701dda61b7f8c383666745fdbfd010b0a6a016bb (patch)
tree95bdfa301e7d46e86c55b84bb8a5ce7f5d8194d8
parent5d5218cab85e2c32f74f253860d5b70d1dba7c75 (diff)
parent9514a517fde7b2bb69d306cb4b1f340d212e19ec (diff)
Merge "Fix wamp rpc registration"
-rw-r--r--iotronic/wamp/agent.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/iotronic/wamp/agent.py b/iotronic/wamp/agent.py
index bce6547..3e67077 100644
--- a/iotronic/wamp/agent.py
+++ b/iotronic/wamp/agent.py
@@ -151,11 +151,9 @@ class WampManager(object):
151 u'stack4things.register') 151 u'stack4things.register')
152 LOG.info("I have been set as registration agent") 152 LOG.info("I have been set as registration agent")
153 session.register(fun.connection, 153 session.register(fun.connection,
154 AGENT_HOST + 154 AGENT_HOST + u'.stack4things.connection')
155 + u'.stack4things.connection')
156 session.register(fun.echo, 155 session.register(fun.echo,
157 AGENT_HOST + 156 AGENT_HOST + u'.stack4things.echo')
158 + u'.stack4things.echo')
159 LOG.debug("procedure registered") 157 LOG.debug("procedure registered")
160 158
161 except Exception as e: 159 except Exception as e: