bugfix: Issue #14346, buildcache create s3 push fails when package w same DAG hash already exists at mirror (#14412)

This commit is contained in:
eugeneswalker 2020-01-07 10:40:37 -08:00 committed by Adam J. Stewart
parent 777812df4e
commit 7546ca6d4d

View file

@ -263,7 +263,7 @@ def remove_url(url):
if url.scheme == 's3':
s3 = s3_util.create_s3_session(url)
s3.delete_object(Bucket=url.s3_bucket, Key=url.path)
s3.delete_object(Bucket=url.netloc, Key=url.path)
return
# Don't even try for other URL schemes.