fix the monitoring
This commit is contained in:
@@ -38,6 +38,9 @@ for part in "${parts[@]}"; do
|
|||||||
if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then
|
if [[ "$result" == *"syncing"* && $? -eq 1 ]]; then
|
||||||
# Allow exit status 1 if result contains "syncing"
|
# Allow exit status 1 if result contains "syncing"
|
||||||
true
|
true
|
||||||
|
elif [[ "$result" == *"lagging"* && $? -eq 1 ]]; then
|
||||||
|
# Allow exit status 1 if result contains "syncing"
|
||||||
|
true
|
||||||
else
|
else
|
||||||
any_failure=true
|
any_failure=true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user