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
|
||||
# while loop so we get:: $SPEAD_USER@$server: <output>
|
||||
case ${SPREAD_LOG_STYLE:-prefixed} in
|
||||
prefixed)
|
||||
case ${SPREAD_LOG_STYLE:-header} in
|
||||
prefix|prefixed)
|
||||
_ssh $server | while read -r line; do
|
||||
printf "%s@%-10s: %s\n" "$SPREAD_USER" "$server" "$line"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue