From bb7723d6bee008a095f1b39aada744215e3235f6 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Fri, 27 May 2022 13:42:32 -0300 Subject: [PATCH] test CI --- .github/workflows/push.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 72d7e9bd..990d86d0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -42,9 +42,9 @@ jobs: run: | nodes="`curl -XGET "https://0.0.0.0:9200/_cat/nodes" -u admin:SecretPassword -k | grep -E "indexer" | wc -l`" if [[ $nodes -eq 1 ]]; then - echo "Cantidad de nodos: ${nodes}" + echo "Wazuh manager nodes: ${nodes}" else - echo "Cantidad de nodos: ${nodes}" + echo "Wazuh manager nodes: ${nodes}" exit 1 fi @@ -74,10 +74,10 @@ jobs: - name: Check Wazuh indexer nodes run: | nodes="`curl -XGET "https://0.0.0.0:9200/_cat/nodes" -u admin:SecretPassword -k | grep -E "indexer" | wc -l`" - if [[ $nodes -eq 1 ]]; then - echo "Cantidad de nodos: ${nodes}" + if [[ $nodes -eq 3 ]]; then + echo "Wazuh manager nodes: ${nodes}" else - echo "Cantidad de nodos: ${nodes}" + echo "Wazuh manager nodes: ${nodes}" exit 1 fi