Skip to content

Commit

Permalink
remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
Pravali Uppugunduri committed Sep 5, 2024
1 parent 80ed399 commit 2e9559f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sagemaker/serve/utils/telemetry_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e9559f

Please sign in to comment.