Преглед изворни кода

[1537946] Correct conditional check for GlusterFS IPs

Russell Teague пре 7 година
родитељ
комит
10503140b3
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      roles/openshift_sanitize_inventory/tasks/unsupported.yml

+ 2 - 1
roles/openshift_sanitize_inventory/tasks/unsupported.yml

@@ -45,7 +45,8 @@
 - name: Ensure the hosted registry's GlusterFS storage is configured correctly
   when:
   - openshift_hosted_registry_storage_kind | default(none) in ['glusterfs']
-  - openshift_hosted_registry_storage_glusterfs_ips is defined and openshift_hosted_registry_storage_glusterfs_ips != ''
+  - openshift_hosted_registry_storage_glusterfs_ips is defined
+  - openshift_hosted_registry_storage_glusterfs_ips != []
   - "'glusterfs_registry' in groups | default([])"
   fail:
     msg: |-