Keep context for logging intact in greenthreads
* fixes bug 942918 Change-Id: Ia0fcf459c53b95a8675472adcfbba08014e34e5b
This commit is contained in:
@@ -244,7 +244,7 @@ class ProxyCallback(object):
|
||||
"""Thread that magically looks for a method on the proxy
|
||||
object and calls it.
|
||||
"""
|
||||
|
||||
ctxt.update_store()
|
||||
try:
|
||||
node_func = getattr(self.proxy, str(method))
|
||||
node_args = dict((str(k), v) for k, v in args.iteritems())
|
||||
|
@@ -283,7 +283,7 @@ class AdapterConsumer(Consumer):
|
||||
"""Thread that magically looks for a method on the proxy
|
||||
object and calls it.
|
||||
"""
|
||||
|
||||
ctxt.update_store()
|
||||
node_func = getattr(self.proxy, str(method))
|
||||
node_args = dict((str(k), v) for k, v in args.iteritems())
|
||||
# NOTE(vish): magic is fun!
|
||||
|
Reference in New Issue
Block a user