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:
parent
04d2a773ae
commit
e6451b8835
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue