From 341f86e2bc295c3ce694bd4e899ab3bafa8f752e Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 20:50:41 +0100 Subject: [PATCH] [PR #9788/bb2c45b5 backport][stable-9] json_query filter docs: fix typo cluster2 when cluster1 is mentioned (#9792) json_query filter docs: fix typo cluster2 when cluster1 is mentioned (#9788) Typo cluster2 but cluster1 is mentioned (cherry picked from commit bb2c45b5bb4147c3e06b7803d40e6f988c076e28) Co-authored-by: Kloppi313 <36038231+Kloppi313@users.noreply.github.com> --- docs/docsite/rst/filter_guide_selecting_json_data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/filter_guide_selecting_json_data.rst b/docs/docsite/rst/filter_guide_selecting_json_data.rst index 73dbf985ba..3f4e56c141 100644 --- a/docs/docsite/rst/filter_guide_selecting_json_data.rst +++ b/docs/docsite/rst/filter_guide_selecting_json_data.rst @@ -124,7 +124,7 @@ To get a hash map with all ports and names of a cluster: var: item loop: "{{ domain_definition | community.general.json_query(server_name_cluster1_query) }}" vars: - server_name_cluster1_query: "domain.server[?cluster=='cluster2'].{name: name, port: port}" + server_name_cluster1_query: "domain.server[?cluster=='cluster1'].{name: name, port: port}" To extract ports from all clusters with name starting with 'server1':