summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-02-14 11:31:34 -0500
committerRussell Teague <rteague@redhat.com>2017-02-14 11:31:44 -0500
commite1e67e41b5e0507539daf977208a56d90b259e36 (patch)
treef58f207b045efb3245319cca49f434b23f2d50d0 /playbooks
parent85610bc98bc28d9a1034616d74c5d54948608aeb (diff)
downloadopenshift-e1e67e41b5e0507539daf977208a56d90b259e36.tar.gz
openshift-e1e67e41b5e0507539daf977208a56d90b259e36.tar.bz2
openshift-e1e67e41b5e0507539daf977208a56d90b259e36.tar.xz
openshift-e1e67e41b5e0507539daf977208a56d90b259e36.zip
Fix logic for checking docker-registry
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/post_control_plane.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
index b79e2f7fa..bea5c038b 100644
--- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
+++ b/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