summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3025f17)
Signed-off-by: sinhan <nandan.sinha@riftio.com>
def callback(self, ks_path, msg):
"""Forwards the request to proxy.
"""
def callback(self, ks_path, msg):
"""Forwards the request to proxy.
"""
url = yield from self.proxy.endpoint(
url = yield from self.proxy.endpoint(
+ msg.package_type if msg.has_field('package_type') else "",
msg.package_id)
rpc_op = RPC_PKG_ENDPOINT.from_dict({"endpoint": url})
msg.package_id)
rpc_op = RPC_PKG_ENDPOINT.from_dict({"endpoint": url})