Skip to content

Backport of Clone proto into deepcopy correctly into release/1.17.x#19207

Merged
hc-github-team-consul-core merged 1 commit into
release/1.17.xfrom
backport/ashwin/proto-deep-copy/positively-composed-hound
Oct 13, 2023
Merged

Backport of Clone proto into deepcopy correctly into release/1.17.x#19207
hc-github-team-consul-core merged 1 commit into
release/1.17.xfrom
backport/ashwin/proto-deep-copy/positively-composed-hound

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

Backport

This PR is auto-generated from #19204 to be assessed for backporting due to the inclusion of the label backport/1.17.

The below text is copied from the body of the original PR.


Description

Use proto.Reset() and proto.Merge() in the DeepCopyInto() method to prevent cloning the protobuf by value which raises linting issues.


Overview of commits

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit 73ab8c5 into release/1.17.x Oct 13, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/ashwin/proto-deep-copy/positively-composed-hound branch October 13, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants