Remove non-inclusive language (#43)

Addresses #42

TODO: address pylint
This commit is contained in:
Steve Flanders
2020-09-08 20:06:47 -04:00
committed by GitHub
parent eaeb508242
commit ce66c8d458
9 changed files with 32 additions and 32 deletions

View File

@ -86,15 +86,15 @@ class Config(object):
else:
self._config[integration] = IntegrationConfig(self, integration, settings)
def trace_headers(self, whitelist):
def trace_headers(self, allowlist):
"""
Registers a set of headers to be traced at global level or integration level.
:param whitelist: the case-insensitive list of traced headers
:type whitelist: list of str or str
:param allowlist: the case-insensitive list of traced headers
:type allowlist: list of str or str
:return: self
:rtype: HttpConfig
"""
self._http.trace_headers(whitelist)
self._http.trace_headers(allowlist)
return self
def header_is_traced(self, header_name):