Skip to content

Commit

Permalink
Remove deprecated RunTracker url option (#7325)
Browse files Browse the repository at this point in the history
  • Loading branch information
codealchemy authored and benjyw committed Mar 7, 2019
1 parent afa0e16 commit 06028a6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/python/pants/goal/run_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 06028a6

Please sign in to comment.