Skip to content

Commit

Permalink
[PR #5499/c4b18361 backport][stable-6] scaleway module utils: make fu…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
patchback[bot] and felixfontein authored Jan 18, 2023
1 parent 1ade62c commit 60addb3
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 60addb3

Please sign in to comment.