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

Fix Node.Copy() #11744

Merged
merged 4 commits into from
Jan 6, 2022
Merged

Fix Node.Copy() #11744

merged 4 commits into from
Jan 6, 2022

Conversation

schmichael
Copy link
Member

Node.Copy() had a couple minor bugs. I believe both fields incorrectly copied (DNS and CPU) are only ever overwritten, so I don't think this fixes any existing buggy behavior.

fd1c71d also reorders fields in Node.Copy to match their order on the struct. Makes checking easier.

@schmichael schmichael merged commit d5e8081 into main Jan 6, 2022
@schmichael schmichael deleted the b-node-copy branch January 6, 2022 01:01
lgfa29 pushed a commit that referenced this pull request Jan 18, 2022
lgfa29 pushed a commit that referenced this pull request Jan 18, 2022
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants