From 06028a641fec6e83bb970812214221567b7855c5 Mon Sep 17 00:00:00 2001 From: Alex Schmitt Date: Thu, 7 Mar 2019 14:36:53 -0800 Subject: [PATCH] Remove deprecated RunTracker url option (#7325) --- src/python/pants/goal/run_tracker.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/python/pants/goal/run_tracker.py b/src/python/pants/goal/run_tracker.py index 58ffe883741..3c1466dfe39 100644 --- a/src/python/pants/goal/run_tracker.py +++ b/src/python/pants/goal/run_tracker.py @@ -83,9 +83,6 @@ def subsystem_dependencies(cls): @classmethod def register_options(cls, register): - register('--stats-upload-url', advanced=True, default=None, - removal_version='1.13.0.dev2', removal_hint='Use --stats-upload-urls instead.', - help='Upload stats to this URL on run completion.') register('--stats-upload-urls', advanced=True, type=dict, default={}, help='Upload stats to these URLs on run completion. Value is a map from URL to the ' 'name of the auth provider the user must auth against in order to upload stats ' @@ -438,9 +435,6 @@ def store_stats(self): # Upload to remote stats db. stats_upload_urls = copy.copy(self.get_options().stats_upload_urls) - deprecated_stats_url = self.get_options().stats_upload_url - if deprecated_stats_url: - stats_upload_urls[deprecated_stats_url] = None timeout = self.get_options().stats_upload_timeout for stats_url, auth_provider in stats_upload_urls.items(): self.post_stats(stats_url, stats, timeout=timeout, auth_provider=auth_provider)