From bb2c45b5bb4147c3e06b7803d40e6f988c076e28 Mon Sep 17 00:00:00 2001 From: Kloppi313 <36038231+Kloppi313@users.noreply.github.com> Date: Fri, 21 Feb 2025 20:40:16 +0100 Subject: [PATCH] json_query filter docs: fix typo cluster2 when cluster1 is mentioned (#9788) Typo cluster2 but cluster1 is mentioned --- 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':