Repository: ambari Updated Branches: refs/heads/branch-2.4 9daef5669 -> 7771695ad
AMBARI-17122. Syntax error in log statement (smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7771695a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7771695a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7771695a Branch: refs/heads/branch-2.4 Commit: 7771695ade4288ddd7eeed1e89bc9445e98429ee Parents: 9daef56 Author: Sumit Mohanty <[email protected]> Authored: Wed Jun 8 08:37:12 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Wed Jun 8 09:54:21 2016 -0700 ---------------------------------------------------------------------- ambari-agent/src/main/python/ambari_agent/ActionQueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7771695a/ambari-agent/src/main/python/ambari_agent/ActionQueue.py ---------------------------------------------------------------------- diff --git a/ambari-agent/src/main/python/ambari_agent/ActionQueue.py b/ambari-agent/src/main/python/ambari_agent/ActionQueue.py index fdda632..4de5390 100644 --- a/ambari-agent/src/main/python/ambari_agent/ActionQueue.py +++ b/ambari-agent/src/main/python/ambari_agent/ActionQueue.py @@ -441,7 +441,7 @@ class ActionQueue(threading.Thread): for i in range(len(chunks)): logger.info("Cmd log for taskId={0} and chunk {1}/{2} of log for command: \n".format(taskId, i+1, len(chunks)) + chunks[i]) else: - logger.info("Cmd log for taskId={0}: ".format(taskId), text) + logger.info("Cmd log for taskId={0}: ".format(taskId) + text) def get_retry_delay(self, last_delay): """
