Multiline docker stats

This commit is contained in:
Martin Lablans 2022-10-06 10:32:18 +02:00
parent ba0d687428
commit ab201c3db5
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ function hc_send(){
if [ -z "$UPTIME" ]; then
UPTIME=$(docker ps --format '{{.Names}} {{.RunningFor}}' --filter name=bridgehead || echo "Unable to get docker statistics")
UPTIME=$(echo "$UPTIME" | tr '\n' '|' || echo "Unable to get docker statistics")
fi
if [ -n "$2" ]; then