소스 검색

Fix logic for checking docker-registry

Russell Teague 8 년 전
부모
커밋
e1e67e41b5
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

@@ -56,7 +56,7 @@
 
   - name: Update registry image to current version
     when:
-    - _default_registry.rc == 0
+    - _default_registry.results.results[0] != {}
     - temp_skip_router_registry_upgrade is not defined
     command: >
       {{ oc_cmd }} patch dc/docker-registry -n default -p