Skip to content

sds: reduce copy of a structure by returning a const-ref#43648

Merged
botengyao merged 1 commit into
envoyproxy:mainfrom
adisuissa:sds_api_const_secret_data
Mar 2, 2026
Merged

sds: reduce copy of a structure by returning a const-ref#43648
botengyao merged 1 commit into
envoyproxy:mainfrom
adisuissa:sds_api_const_secret_data

Conversation

@adisuissa
Copy link
Copy Markdown
Contributor

Commit Message: sds: reduce copy of a structure by returning a const-ref
Additional Description:
Internal refactor to return a const-ref instead of a copy in the secretData() method.

Risk Level: low - internal change
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #43648 was opened by adisuissa.

see: more, trace.

@adisuissa adisuissa marked this pull request as ready for review February 25, 2026 22:11
Copy link
Copy Markdown
Member

@botengyao botengyao left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the improvement!

@botengyao botengyao merged commit 97d7553 into envoyproxy:main Mar 2, 2026
28 checks passed
bmjask pushed a commit to bmjask/envoy that referenced this pull request Mar 14, 2026
…43648)

Commit Message: sds: reduce copy of a structure by returning a const-ref
Additional Description:
Internal refactor to return a const-ref instead of a copy in the
`secretData()` method.

Risk Level: low - internal change
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: bjmask <11672696+bjmask@users.noreply.github.com>
bvandewalle pushed a commit to bvandewalle/envoy that referenced this pull request Mar 17, 2026
…43648)

Commit Message: sds: reduce copy of a structure by returning a const-ref
Additional Description:
Internal refactor to return a const-ref instead of a copy in the
`secretData()` method.

Risk Level: low - internal change
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
fishcakez pushed a commit to fishcakez/envoy that referenced this pull request Mar 25, 2026
…43648)

Commit Message: sds: reduce copy of a structure by returning a const-ref
Additional Description:
Internal refactor to return a const-ref instead of a copy in the
`secretData()` method.

Risk Level: low - internal change
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
krinkinmu pushed a commit to grnmeira/envoy that referenced this pull request Apr 20, 2026
…43648)

Commit Message: sds: reduce copy of a structure by returning a const-ref
Additional Description:
Internal refactor to return a const-ref instead of a copy in the
`secretData()` method.

Risk Level: low - internal change
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
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.

2 participants