diff --git a/api/src/main/java/marquez/api/NamespaceResource.java b/api/src/main/java/marquez/api/NamespaceResource.java index 41cc81c830..c900091f5f 100644 --- a/api/src/main/java/marquez/api/NamespaceResource.java +++ b/api/src/main/java/marquez/api/NamespaceResource.java @@ -77,8 +77,7 @@ public Response list( @QueryParam("offset") @DefaultValue("0") @Min(value = 0) int offset) { final String namespaceFilter = Utils.getNamespaceFilter(); final List allNamespaces = namespaceService.findAll(limit, offset); - // If the key: EXCLUDED_NAMESPACE is in the config file, excluded these - // namespace + // If the key: namespaceFilter is in the config file, exclude the corresponding namespaces if (namespaceFilter != null) { final List FilterNamespaces = namespaceService.findAllFilter(namespaceFilter, limit, offset);