fixed arrs clean up showing only orphans
This commit is contained in:
@@ -87,7 +87,7 @@ for container in "${NETWORK_CONNECT_CONTAINERS[@]}"; do
|
||||
# Verify container exists
|
||||
if ! docker inspect "$container" &>/dev/null; then
|
||||
warn "$container not found — skipping"
|
||||
FAILED+=("$container")
|
||||
continue
|
||||
echo ""
|
||||
continue
|
||||
fi
|
||||
@@ -98,7 +98,7 @@ for container in "${NETWORK_CONNECT_CONTAINERS[@]}"; do
|
||||
# Verify network exists
|
||||
if ! docker network inspect "$network" &>/dev/null; then
|
||||
warn "Network $network not found — skipping"
|
||||
FAILED+=("$container:$network")
|
||||
continue
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user