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

refactor: use secrecy SerectString to hold secrets option #3804

Merged
merged 16 commits into from
Apr 29, 2024

Conversation

tisonkun
Copy link
Collaborator

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

This closes #2144.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

@tisonkun tisonkun requested review from evenyag and a team as code owners April 26, 2024 06:21
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Apr 26, 2024
Copy link

codecov bot commented Apr 26, 2024

Codecov Report

Attention: Patch coverage is 79.04762% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 85.42%. Comparing base (d8ea7c5) to head (bc8cf8f).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3804      +/-   ##
==========================================
- Coverage   85.63%   85.42%   -0.22%     
==========================================
  Files         953      950       -3     
  Lines      162840   162950     +110     
==========================================
- Hits       139447   139197     -250     
- Misses      23393    23753     +360     

Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
src/sql/src/statements/option_map.rs Outdated Show resolved Hide resolved
src/sql/src/statements/option_map.rs Outdated Show resolved Hide resolved
src/sql/src/statements/option_map.rs Outdated Show resolved Hide resolved
@tisonkun
Copy link
Collaborator Author

@MichaelScofield Comments addressed.

Signed-off-by: tison <[email protected]>
@tisonkun tisonkun requested a review from fengjiachun April 28, 2024 08:17
Signed-off-by: tison <[email protected]>
@tisonkun
Copy link
Collaborator Author

@fengjiachun Resolved.

@tisonkun tisonkun requested review from fengjiachun and sunng87 April 28, 2024 15:51
Copy link
Collaborator

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

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

LGTM

@tisonkun tisonkun added this pull request to the merge queue Apr 29, 2024
Merged via the queue into GreptimeTeam:main with commit c387687 Apr 29, 2024
20 checks passed
@tisonkun tisonkun deleted the secretstring branch April 29, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using SecretString to store senstive values in copy stmt
3 participants