diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-03-10 08:44:47 -0800 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-03-10 08:44:47 -0800 |
commit | 613024972ad530ffe1b5acb7b8662d2e69c6d93d (patch) | |
tree | 4d10c8ebfb6a243fe7fea0db1f6e9c9ebcc0d979 /playbooks/common/openshift-cluster/upgrades | |
parent | 32d20e7e52d843a51b4de2f576cc05a89d37c767 (diff) | |
download | openshift-613024972ad530ffe1b5acb7b8662d2e69c6d93d.tar.gz openshift-613024972ad530ffe1b5acb7b8662d2e69c6d93d.tar.bz2 openshift-613024972ad530ffe1b5acb7b8662d2e69c6d93d.tar.xz openshift-613024972ad530ffe1b5acb7b8662d2e69c6d93d.zip |
Fix incorrect comparison when detecting petsets
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/v3_5/validator.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_5/validator.yml b/playbooks/common/openshift-cluster/upgrades/v3_5/validator.yml index 9c126033c..fb79f898f 100644 --- a/playbooks/common/openshift-cluster/upgrades/v3_5/validator.yml +++ b/playbooks/common/openshift-cluster/upgrades/v3_5/validator.yml @@ -35,7 +35,7 @@ kind: petsets register: l_do_petsets_exist - - name: FAIL ON Resource migration 'PetSets' unsupported + - name: Fail on unsupported resource migration 'PetSets' fail: msg: > PetSet objects were detected in your cluster. These are an @@ -62,6 +62,6 @@ $ oc get petsets --all-namespaces -o yaml | oc delete -f - --cascale=false when: # Search did not fail, valid resource type found - - l_do_petsets_exist.results.returncode == "0" + - l_do_petsets_exist.results.returncode == 0 # Items do exist in the search results - l_do_petsets_exist.results.results.0['items'] | length > 0 |