Skip to content

Commit

Permalink
doc: better comment
Browse files Browse the repository at this point in the history
Signed-off-by: Yan <yannick.libert@gmail.com>
  • Loading branch information
yanlibert committed Nov 24, 2023
1 parent dff4565 commit 8a462b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/src/main/java/marquez/api/NamespaceResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ public Response list(
@QueryParam("offset") @DefaultValue("0") @Min(value = 0) int offset) {
final String namespaceFilter = Utils.getNamespaceFilter();
final List<Namespace> 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<Namespace> FilterNamespaces =
namespaceService.findAllFilter(namespaceFilter, limit, offset);
Expand Down

0 comments on commit 8a462b6

Please sign in to comment.