merge and resolve conflict in elasticsearch state

This commit is contained in:
m0duspwnens
2021-05-27 11:33:44 -04:00
20 changed files with 129 additions and 252 deletions

View File

@@ -488,6 +488,7 @@ wait_for_web_response() {
maxAttempts=${3:-300}
curlcmd=${4:-curl}
logfile=/root/wait_for_web_response.log
truncate -s 0 "$logfile"
attempt=0
while [[ $attempt -lt $maxAttempts ]]; do
attempt=$((attempt+1))