From 2e9559fe435eb0808e08c912e53795b14472c97c Mon Sep 17 00:00:00 2001 From: Pravali Uppugunduri Date: Thu, 5 Sep 2024 00:18:44 +0000 Subject: [PATCH] remove duplicate --- src/sagemaker/serve/utils/telemetry_logger.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sagemaker/serve/utils/telemetry_logger.py b/src/sagemaker/serve/utils/telemetry_logger.py index 7424cf24c3..a4815d53e5 100644 --- a/src/sagemaker/serve/utils/telemetry_logger.py +++ b/src/sagemaker/serve/utils/telemetry_logger.py @@ -169,10 +169,6 @@ def wrapper(self, *args, **kwargs): config_name_code = self.deployment_config_name.lower() extra += f"&x-configName={config_name_code}" - if getattr(self, "deployment_config_name", False): - config_name_code = self.deployment_config_name.lower() - extra += f"&x-configName={config_name_code}" - extra += f"&x-latency={round(elapsed, 2)}" if not self.serve_settings.telemetry_opt_out: