[autoscaler] LoadMetrics missed logger.debug (#12714)

This commit is contained in:
Ameer Haj Ali
2020-12-10 03:19:36 +02:00
committed by GitHub
parent a9da4f3201
commit 2f8e308444
@@ -82,9 +82,10 @@ class LoadMetrics:
def prune(mapping):
unwanted = set(mapping) - active_ips
for unwanted_key in unwanted:
logger.info("LoadMetrics: "
"Removed mapping: {} - {}".format(
unwanted_key, mapping[unwanted_key]))
# TODO (Alex): Change this back to info after #12138.
logger.debug("LoadMetrics: "
"Removed mapping: {} - {}".format(
unwanted_key, mapping[unwanted_key]))
del mapping[unwanted_key]
if unwanted:
# TODO (Alex): Change this back to info after #12138.