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

Refactored outdated terms #852

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Conversation

dhoard
Copy link
Collaborator

@dhoard dhoard commented Jul 22, 2023

Changed code and documentation to use allowlistObjectNames and denylistObjectNames in lieu of whitelistObjectNames and blacklistObjectNames

Copy link
Member

@fstab fstab left a comment

Choose a reason for hiding this comment

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

Thanks for that Doug, I like it, especially the fact that we still support the old names for backwards compatibility.

One thought: I had to read the names allowlistObjectNames and denylistObjectNames twice, my first intuition was that it's about allowing listing object names. What do you think of calling it includedObjectNames and excludedObjectNames?

@dhoard
Copy link
Collaborator Author

dhoard commented Jul 28, 2023

Totally agree! (was just trying to be consistent.) I'll make the change.

Signed-off-by: Doug Hoard <doug.hoard@gmail.com>
@dhoard dhoard marked this pull request as ready for review July 28, 2023 13:08
@dhoard dhoard merged commit 700e60f into prometheus:main Jul 28, 2023
1 check passed
@dhoard dhoard deleted the refactor-outdated-terms branch July 28, 2023 13:12
dhoard added a commit that referenced this pull request Jul 29, 2023
Signed-off-by: Doug Hoard <doug.hoard@gmail.com>
s-rwe added a commit to s-rwe/jmx_exporter that referenced this pull request Oct 23, 2023
Signed-off-by: Ralph Weires <r.weires@sedai.lu>
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.

2 participants