Skip to content

Commit

Permalink
Fix operation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanasiak committed Nov 7, 2024
1 parent 8823f2d commit 6f05f74
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions elastic/logs/operations/esql.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,33 +336,29 @@
},
{
"name": "check-cluster-health-on-local-cluster",
"operation": {
"operation-type": "cluster-health",
"index": "_all",
"request-params": {
"wait_for_status": "{{cluster_health | default('green')}}",
{% if p_esql_ccs_local_nodes_count > 0 %}
"wait_for_nodes": {{ p_esql_ccs_local_nodes_count }},
{% endif %}
"wait_for_no_relocating_shards": "true"
},
"retry-until-success": true
}
"operation-type": "cluster-health",
"index": "_all",
"request-params": {
"wait_for_status": "{{cluster_health | default('green')}}",
{% if p_esql_ccs_local_nodes_count > 0 %}
"wait_for_nodes": {{ p_esql_ccs_local_nodes_count }},
{% endif %}
"wait_for_no_relocating_shards": "true"
},
"retry-until-success": true
},
{
"name": "check-cluster-health-on-remote-clusters",
"operation": {
"operation-type": "multi-cluster-wrapper",
"base-operation-type": "cluster-health",
"ignore-clusters": ["default"],
"index": "_all",
"request-params": {
"operation-type": "multi-cluster-wrapper",
"base-operation-type": "cluster-health",
"ignore-clusters": ["default"],
"index": "_all",
"request-params": {
"wait_for_status": "{{wait_for_status | default('green')}}",
{% if p_esql_ccs_remote_nodes_count > 0 %}
"wait_for_nodes": {{ p_esql_ccs_remote_nodes_count }},
{% endif %}
"wait_for_no_relocating_shards": "true"
},
"retry-until-success": true
}
},
"retry-until-success": true
}

0 comments on commit 6f05f74

Please sign in to comment.