Revert "Merge branch '4.9.0' into merge-4.9.0-into-master"

This reverts commit 4923750ea4, reversing
changes made to e1d70c35fe.
This commit is contained in:
David Correa Rodríguez
2024-07-19 09:27:46 +02:00
parent 0110e696d0
commit eded59bc25
10 changed files with 271 additions and 79 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ jobs:
sleep 10
done
docs="`curl -XGET "https://0.0.0.0:9200/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`"
if [[ $docs -gt 0 ]]; then
if [[ $docs -gt 1 ]]; then
echo "wazuh-alerts index documents: ${docs}"
else
echo "wazuh-alerts index documents: ${docs}"