소스 검색

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: |-