-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Scaleway] Remove unused sensitive values filtering #5497
[Scaleway] Remove unused sensitive values filtering #5497
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
Signed-off-by: Lunik <lunik@tiwabbit.fr>
e1adfbb
to
1bbe2d0
Compare
Maybe that works aound the bug in pylint. (Also it won't be a breaking change anymore.)
Sorry for removing that change, but it seems to trigger a pylint bug in very certain circumstances (which seem to be fulfilled in CI, but not when I test locally). I'll try to re-do that in a follow-up commit, or at least rename the function with a leading underscore so that it is marked private (and we can remove it later without it being a breaking change). |
…ons#5497) * [Scaleway] Remove unused sensitive values filtering Signed-off-by: Lunik <lunik@tiwabbit.fr> * Try adding function back. Maybe that works aound the bug in pylint. (Also it won't be a breaking change anymore.) Signed-off-by: Lunik <lunik@tiwabbit.fr> Co-authored-by: Felix Fontein <felix@fontein.de>
…nction private that should be removed (#5860) scaleway module utils: make function private that should be removed (#5499) * Make function private that should be removed (ref: #5497). * Maybe it works as a comment? * Try something else. * Ok, let's just add a comment. * Last try: docstring instead of comment. (cherry picked from commit c4b1836) Co-authored-by: Felix Fontein <felix@fontein.de>
SUMMARY
This PR remove the call to
filter_sensitive_attributes
in Scaleway modules.Also remove the
filter_sensitive_attributes
from module utils.ISSUE TYPE
COMPONENT NAME
scaleway_container_namespace_info
scaleway_container_registry_info
scaleway_function_info
ADDITIONAL INFORMATION
Since the returned values are hashed, we don't need to filter them from before return the to the user.
Also, the not
_info
modules already returns the hashed value.Should I make a Changelog fragment for this PR ?