From fdf6182d1eebfc18437d88312fb9b62c4e6d7836 Mon Sep 17 00:00:00 2001 From: Alex Ormenisan Date: Fri, 15 Sep 2023 16:50:23 +0200 Subject: [PATCH] [HWORKS-740] Expat - disable provenance on existing projects (#1550) --- .../common/provenance/core/HopsFSProvenanceController.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hopsworks-common/src/main/java/io/hops/hopsworks/common/provenance/core/HopsFSProvenanceController.java b/hopsworks-common/src/main/java/io/hops/hopsworks/common/provenance/core/HopsFSProvenanceController.java index a2dc6ecbb7..371dee9764 100644 --- a/hopsworks-common/src/main/java/io/hops/hopsworks/common/provenance/core/HopsFSProvenanceController.java +++ b/hopsworks-common/src/main/java/io/hops/hopsworks/common/provenance/core/HopsFSProvenanceController.java @@ -224,12 +224,7 @@ public List getDatasetsProvType(Users user, Project project) thr public ProvTypeDTO getMetaStatus(Users user, Project project, Boolean searchable) throws ProvenanceException { if(searchable != null && searchable) { - ProvTypeDTO projectMetaStatus = getProjectProvType(user, project); - if(Inode.MetaStatus.DISABLED.equals(projectMetaStatus.getMetaStatus())) { - return Provenance.Type.META.dto; - } else { - return projectMetaStatus; - } + return getProjectProvType(user, project); } else { return Provenance.Type.DISABLED.dto; }