Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests to ensure functions preserve comments #324

Closed

Conversation

mengqiy
Copy link
Contributor

@mengqiy mengqiy commented May 27, 2021

closes: kptdev/kpt#1815

name: my-nginx
# namespace for team foo
namespace: my-space
+ labels:
Copy link
Contributor

Choose a reason for hiding this comment

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

can you explain the formatting changes in the PR description.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This diff is from the format function. The formatting change is desired.
And also this line is not changed in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

@phanimarupaka I think we disabled the formatting now? Not sure.

@mengqiy mengqiy requested a review from frankfarzan June 2, 2021 21:49
@frankfarzan frankfarzan requested a review from phanimarupaka June 3, 2021 19:33
@phanimarupaka
Copy link
Contributor

@mengqiy what was the root cause and how is this fixed in code ?

@mengqiy
Copy link
Contributor Author

mengqiy commented Jun 4, 2021

Closing in favor of kptdev/kpt#2169, we are preserving the comments in the orchestrator layer

@mengqiy mengqiy closed this Jun 4, 2021
@mengqiy mengqiy deleted the preservecomments branch June 4, 2021 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA OK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gcr.io/kpt-fn/set-namespace deletes comments in file
3 participants