diff --git a/lib/monitoring.sh b/lib/monitoring.sh index 75e62af..e8f7ae5 100755 --- a/lib/monitoring.sh +++ b/lib/monitoring.sh @@ -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