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; }