瀏覽代碼

Merge pull request #3623 from tbielawa/petset_early_fail_again

Merged by openshift-bot
OpenShift Bot 8 年之前
父節點
當前提交
15100f21a5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      playbooks/common/openshift-cluster/upgrades/v3_5/validator.yml

+ 2 - 2
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