Skip to content

Commit

Permalink
Remove unnecessary diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Jun 29, 2024
1 parent f4071e4 commit 4234b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion flux_local/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ async def run(self, stdin: bytes | None = None) -> bytes:
errors.append(out.decode("utf-8"))
if err:
errors.append(err.decode("utf-8"))
_LOGGER.debug("stdin=%s", stdin)
_LOGGER.debug("\n".join(errors))
raise self.exc("\n".join(errors))
return out
Expand Down
4 changes: 2 additions & 2 deletions flux_local/git_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ async def kustomization_traversal(
_LOGGER.debug("Already visited %s", path)
continue
visited_paths.add(path)

tasks.append(visit_kustomization(selector, builder, path, visit_ks))

# Find new kustomizations
Expand Down Expand Up @@ -618,8 +619,7 @@ async def build_kustomization(
if not kinds:
return

regexp = f"kind=^({'|'.join(kinds)})$"
docs = await cmd.grep(regexp).objects(
docs = await cmd.filter_resources(kinds).objects(
target_namespace=kustomization.target_namespace
)

Expand Down

0 comments on commit 4234b28

Please sign in to comment.