bugfix: Issue #14346, buildcache create s3 push fails when package w same DAG hash already exists at mirror (#14412)
This commit is contained in:
parent
777812df4e
commit
7546ca6d4d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue