Skip to content

Conversation

lunny
Copy link
Member

@lunny lunny commented Oct 6, 2025

No description provided.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 6, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Oct 6, 2025
@shashank-netapp
Copy link

shashank-netapp commented Oct 7, 2025

As we've already created a SensitiveString type, wouldn't it be better to do the sanitization work in .String function itself ? This way we'll avoid doing any type of calculation in the log level function call. And also any of the fmt's would already be sanitized to begin with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants