Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for break (0.14 sec)

  1. .github/workflows/multipart/migrate.sh

    attempt=1
    while true; do
    	diff <(./mc admin group info site1 site-replication-issue-group) <(./mc admin group info site2 site-replication-issue-group)
    
    	if [[ $? -eq 0 ]]; then
    		echo "Outputs are consistent."
    		break
    	fi
    
    	remaining_attempts=$((max_wait_attempts - attempt))
    	if ((attempt >= max_wait_attempts)); then
    		echo "Outputs remain inconsistent after $max_wait_attempts attempts. Exiting with error."
    		exit 1
    	else
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top