Преглед на файлове

Correct typo in haproxy router collection.

Andrew Butcher преди 8 години
родител
ревизия
5a7e51d063
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/post_control_plane.yml

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/post_control_plane.yml

@@ -22,7 +22,7 @@
       selector: 'router'
     register: all_routers
 
-  - set_fact: haproxy_routers="{{ (all_routers.reults.results[0]['items'] | oo_pods_match_component(openshift_deployment_type, 'haproxy-router') | oo_select_keys_from_list(['metadata']) }}"
+  - set_fact: haproxy_routers="{{ all_routers.results.results[0]['items'] | oo_pods_match_component(openshift_deployment_type, 'haproxy-router') | oo_select_keys_from_list(['metadata']) }}"
     when:
     - all_routers.results.returncode == 0