Use the correct name for the stale_url variable

In the run script, fix a latent regression involving purging of
stale URLs, where the wrong variable name was used.

Change-Id: I78795e86033e1a60364e27c65575854c68bc1c05
This commit is contained in:
Jeremy Stanley 2018-02-01 20:34:09 +00:00
parent 04d2a773ae
commit e6451b8835
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def main():
stale[url] = True
for stale_url in stale.keys():
logger.info('Purging URLs for stale request %s' % stale_url)
for url in get_purge_urls(request_url):
for url in get_purge_urls(stale_url):
logger.info('Purging %s' % url)
response = requests.request('PURGE', url)
if not response.ok: