Fixed bad extract of first container

This commit is contained in:
Nicolas Simond
2026-01-14 08:37:12 +01:00
committed by GitHub
parent 009a78b8a8
commit c96e178ad3
+1 -1
View File
@@ -71,7 +71,7 @@ EOF
# Collect stats
STATS=$(docker stats --no-stream --no-trunc \
--format "{{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.NetIO}}" \
$CONTAINERS 2>/dev/null | tail -n +2)
$CONTAINERS 2>/dev/null | tail -n +1)
# Create error file if feedback is empty
if [[ -z "$STATS" ]]; then