Преглед на файлове

Merge pull request #6857 from mtnbikenc/fix-1537946

Automatic merge from submit-queue.

[1537946] Correct conditional check for GlusterFS IPs

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1537946
OpenShift Merge Robot преди 7 години
родител
ревизия
664d655f8d
променени са 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: |-