mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #44179 from mikedanese/saltsucks
Automatic merge from submit-queue make salt return non-zero exit code on failure Fixes https://github.com/kubernetes/kubernetes/issues/32478
This commit is contained in:
commit
af341e3fd1
@ -796,7 +796,7 @@ function run-salt() {
|
||||
echo "== Calling Salt =="
|
||||
local rc=0
|
||||
for i in {0..6}; do
|
||||
salt-call --local state.highstate && rc=0 || rc=$?
|
||||
salt-call --retcode-passthrough --local state.highstate && rc=0 || rc=$?
|
||||
if [[ "${rc}" == 0 ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user