summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-14 13:21:20 -0500
committerGitHub <noreply@github.com>2017-02-14 13:21:20 -0500
commit8429d5a5100b5b047a393e64b3c0af73eae27c85 (patch)
tree121ad6cc4b96fff5c52f226770c0226414a11bf4
parent9973fc9d18e9be2f1cd29ac7133fb428c484dc17 (diff)
parente1e67e41b5e0507539daf977208a56d90b259e36 (diff)
downloadopenshift-8429d5a5100b5b047a393e64b3c0af73eae27c85.tar.gz
openshift-8429d5a5100b5b047a393e64b3c0af73eae27c85.tar.bz2
openshift-8429d5a5100b5b047a393e64b3c0af73eae27c85.tar.xz
openshift-8429d5a5100b5b047a393e64b3c0af73eae27c85.zip
Merge pull request #3356 from mtnbikenc/mod-fixes
Fix logic for checking docker-registry
-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