Skip to content

Commit e5e6ff5

Browse files
committed
rtc: consolidate piggyback config
Change-Id: I58b8abc5a7409753c84f26848776e02f4c8a29ca
1 parent c4cebcc commit e5e6ff5

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

cmk/base/config.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,15 +1276,6 @@ def __call__(self, hostname: HostName, servicedesc: ServiceName) -> list[Service
12761276
# '----------------------------------------------------------------------'
12771277

12781278

1279-
def get_piggyback_translations(
1280-
matcher: RulesetMatcher, labels_of_host: Callable[[HostName], Labels], hostname: HostName
1281-
) -> cmk.utils.translations.TranslationOptions:
1282-
"""Get a dict that specifies the actions to be done during the hostname translation"""
1283-
return cmk.utils.translations.parse_translation_options(
1284-
matcher.get_host_values_merged(hostname, piggyback_translation, labels_of_host)
1285-
)
1286-
1287-
12881279
def get_http_proxy(http_proxy: tuple[str, str]) -> HTTPProxyConfig:
12891280
"""Returns a proxy config object to be used for HTTP requests
12901281

0 commit comments

Comments
 (0)