Skip to content

Conversation

@caxu-rh
Copy link
Contributor

@caxu-rh caxu-rh commented Jun 13, 2025

Instead of directly passing os.stdout as an io.Writer to NewManifestJSONProcessorFn, provide a bytes.Buffer instead, and only print this buffer at the end after execution of the processing function has ended.

@exe-prow-github-app exe-prow-github-app bot requested a review from komish June 13, 2025 19:46
Copy link
Collaborator

@komish komish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@exe-prow-github-app exe-prow-github-app bot added the lgtm Indicates that a PR is ready to be merged. label Jun 13, 2025
@exe-prow-github-app
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: caxu-rh, komish

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 13, 2025
@caxu-rh caxu-rh force-pushed the output-after-watch-complete branch from a04266d to feccee0 Compare June 13, 2025 20:46
@exe-prow-github-app exe-prow-github-app bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 13, 2025
@exe-prow-github-app
Copy link

New changes are detected. LGTM label has been removed.

Signed-off-by: Caleb Xu <caxu@redhat.com>
@caxu-rh caxu-rh force-pushed the output-after-watch-complete branch from feccee0 to 6dd1543 Compare June 13, 2025 20:53
@caxu-rh caxu-rh merged commit 4f6ee21 into opdev:main Jun 13, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants