use pipe exit status for update_docker_containers

This commit is contained in:
reyesj2
2026-06-09 12:51:58 -05:00
parent d7aa7ab228
commit 9f5a9616a5
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -767,7 +767,10 @@ if ! [[ -f $install_opt_file ]]; then
title "Applying the registry state"
logCmd "salt-call state.apply -l info registry"
title "Seeding the docker registry"
docker_seed_registry
if ! docker_seed_registry; then
error "Failed to seed the docker registry"
fail_setup
fi
title "Applying the manager state"
logCmd "salt-call state.apply -l info manager"
logCmd "salt-call state.apply influxdb -l info"