瀏覽代碼

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