From 194ed6b973bc7b848df4879350d15d802c396a12 Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Thu, 1 May 2014 14:13:24 +1000 Subject: [PATCH] Fix passing envelope variable as timeout The envelope variable is being passed positionally in the timeout spot. Change-Id: I64defdb0a9544d8c2ae69b38f723937b324ae504 --- oslo/messaging/_drivers/impl_zmq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo/messaging/_drivers/impl_zmq.py b/oslo/messaging/_drivers/impl_zmq.py index cc1b8ea6f..cb4d06b82 100644 --- a/oslo/messaging/_drivers/impl_zmq.py +++ b/oslo/messaging/_drivers/impl_zmq.py @@ -682,7 +682,7 @@ def _call(addr, context, topic, msg, timeout=None, ) LOG.debug(_("Sending cast")) - _cast(addr, context, topic, payload, envelope) + _cast(addr, context, topic, payload, envelope=envelope) LOG.debug(_("Cast sent; Waiting reply")) # Blocks until receives reply