Commit dd7db360 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix ConfigWriter._DistributeConfig error handling

Commit 1b54fc6c

 added a typo (due to
copy-paste) in the error handling path of this function.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 035566e3
......@@ -1070,7 +1070,7 @@ class ConfigWriter:
msg = to_result.RemoteFailMsg()
if msg:
msg = ("Copy of file %s to node %s failed: %s" %
(self._cfg_file, node, msg))
(self._cfg_file, to_node, msg))
logging.error(msg)
bad = True
return not bad
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment