ansible: fix RPC time logging.

Rendering call arguemtns was broken for non-positional arguments.
pull/325/head
David Wilson 8 years ago
parent a29a883dfc
commit bfe9f81d0b

@ -593,8 +593,8 @@ class Connection(ansible.plugins.connection.ConnectionBase):
try: try:
return self.call_async(func, *args, **kwargs).get().unpickle() return self.call_async(func, *args, **kwargs).get().unpickle()
finally: finally:
LOG.debug('Call took %d ms: %s%r', 1000 * (time.time() - t0), LOG.debug('Call took %d ms: %r', 1000 * (time.time() - t0),
func.__name__, args) mitogen.parent.CallSpec(func, args, kwargs))
def create_fork_child(self): def create_fork_child(self):
""" """

Loading…
Cancel
Save