Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
John2020-cyber committed Dec 13, 2024
1 parent 397baf5 commit 5a9749c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

- name: Extract ManagedCluster details with owner label
ansible.builtin.set_fact:
managed_clusters: "{{ managed_clusters | default([]) + [{'name': item.metadata.name, 'owner': item.metadata.labels.owner }}"
managed_clusters: "{{ managed_clusters | default([]) + [{'name': item.metadata.name, 'owner': item.metadata.labels.owner}] }}"
loop: "{{ managed_clusters_raw.resources }}"
loop_control:
loop_var: item
Expand Down

0 comments on commit 5a9749c

Please sign in to comment.