Skip to content

Commit 49ac24e

Browse files
committed
Lint
1 parent ed663e8 commit 49ac24e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

startupscript/butane/machine-stats-exporter.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ containers_json=$(
5050
5151
# Get state from docker inspect for all containers.
5252
# .Id is the full 64-char ID; truncate to 12 to match docker stats.
53-
state=$(docker inspect $(docker ps -aq) 2>/dev/null \
53+
state=$(docker ps -aq | xargs docker inspect 2>/dev/null \
5454
| jq -c '[.[] | {
5555
id: .Id[:12],
5656
name: .Name,

0 commit comments

Comments
 (0)