소스 검색

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