diff --git a/console/services/app_config/mnt_service.py b/console/services/app_config/mnt_service.py index dace35c0df..f9f365d347 100644 --- a/console/services/app_config/mnt_service.py +++ b/console/services/app_config/mnt_service.py @@ -87,7 +87,7 @@ def get_service_unmount_volume_list(self, tenant, service, service_ids, page, pa .exclude(ID__in=mounted_ids) else: service_volumes = volume_repo.get_services_volumes(current_tenant_services_id).filter( - volume_type=self.SHARE) \ + access_mode="RWX") \ .exclude(ID__in=mounted_ids).exclude(service_id__in=state_service_ids) # TODO 使用函数进行存储的排查,确定哪些存储不可以进行共享,哪些存储可以共享,而不是现在这样简单的提供一个self.SHARE