Skip to content

Commit

Permalink
scaleway module utils: make function private that should be removed (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
felixfontein authored Jan 18, 2023
1 parent 1430ed0 commit c4b1836
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/module_utils/scaleway.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ def parse_pagination_link(header):


def filter_sensitive_attributes(container, attributes):
'''
WARNING: This function is effectively private, **do not use it**!
It will be removed or renamed once changing its name no longer triggers a pylint bug.
'''
for attr in attributes:
container[attr] = "SENSITIVE_VALUE"

Expand Down

0 comments on commit c4b1836

Please sign in to comment.