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

Strip password when reading from file #1162

Closed
wants to merge 1 commit into from

Conversation

wild-endeavor
Copy link
Contributor

@wild-endeavor wild-endeavor commented Sep 14, 2022

TL;DR

Strip the password when reading from a file.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

This is tangentially possibly related to flyteorg/flyte#2849. Found this nit when investigating that issue, but not sure if this is what the user was experiencing or if there is a different bug somewhere.

Tracking Issue

flyteorg/flyte#2849

Signed-off-by: Yee Hing Tong <[email protected]>
@wild-endeavor wild-endeavor changed the title add password strip Strip password when reading from file Sep 14, 2022
@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #1162 (e443a50) into master (2ccaed7) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1162   +/-   ##
=======================================
  Coverage   68.51%   68.51%           
=======================================
  Files         288      288           
  Lines       26085    26088    +3     
  Branches     2918     2918           
=======================================
+ Hits        17871    17874    +3     
  Misses       7735     7735           
  Partials      479      479           
Impacted Files Coverage Δ
flytekit/configuration/file.py 56.21% <100.00%> (ø)
tests/flytekit/unit/configuration/test_internal.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@wild-endeavor
Copy link
Contributor Author

closing see #1163

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.

1 participant