From dd7db36058e0e645c634402fe9c26cee69eef753 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 10 Jun 2009 12:53:18 +0200 Subject: [PATCH] Fix ConfigWriter._DistributeConfig error handling Commit 1b54fc6c2fd92b614c029cc5312d02f9f1526253 added a typo (due to copy-paste) in the error handling path of this function. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.py b/lib/config.py index 2e3a4f21c..7ebcf920b 100644 --- a/lib/config.py +++ b/lib/config.py @@ -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 -- GitLab