]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
orchestra.run: log the ssh command without prefix 1230/head
authorKefu Chai <kchai@redhat.com>
Fri, 26 Oct 2018 06:18:34 +0000 (14:18 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 27 Oct 2018 02:38:28 +0000 (10:38 +0800)
commit91670e44b784a18bb0fb454d3b7bf4df1432a7e0
treee5401d733cf7abc8261fd97d2c5c137d601d3928
parent175de2a6407f21ee112343938219a040736601f9
orchestra.run: log the ssh command without prefix

run() also supports single string, but if we pass a longstring literal
which contains "\n", it renders log difficult to read.
in this change, multi-line command is logged in multiple lines,
and print the "prefix" in the first line, then print the command in
following lines without "prefix".

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/orchestra/run.py