fix: change spread stdout style to header by default
This commit is contained in:
parent
d0a5433cb8
commit
5434cceeaf
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ _ssh() {
|
||||||
|
|
||||||
for server in $SPREAD_SERVERS; do
|
for server in $SPREAD_SERVERS; do
|
||||||
# while loop so we get:: $SPEAD_USER@$server: <output>
|
# while loop so we get:: $SPEAD_USER@$server: <output>
|
||||||
case ${SPREAD_LOG_STYLE:-prefixed} in
|
case ${SPREAD_LOG_STYLE:-header} in
|
||||||
prefixed)
|
prefix|prefixed)
|
||||||
_ssh $server | while read -r line; do
|
_ssh $server | while read -r line; do
|
||||||
printf "%s@%-10s: %s\n" "$SPREAD_USER" "$server" "$line"
|
printf "%s@%-10s: %s\n" "$SPREAD_USER" "$server" "$line"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue