summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2020-01-07 10:40:37 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-07 12:40:37 -0600
commit7546ca6d4deb3bd33f63af71ea6b23675bb55f67 (patch)
tree10d3086e89dff9a1b55e52e3be67c8cc1fdbe261 /lib
parent777812df4eda8283c729f44ab3d6db1e350e0d45 (diff)
downloadspack-7546ca6d4deb3bd33f63af71ea6b23675bb55f67.tar.gz
spack-7546ca6d4deb3bd33f63af71ea6b23675bb55f67.tar.bz2
spack-7546ca6d4deb3bd33f63af71ea6b23675bb55f67.tar.xz
spack-7546ca6d4deb3bd33f63af71ea6b23675bb55f67.zip
bugfix: Issue #14346, buildcache create s3 push fails when package w same DAG hash already exists at mirror (#14412)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/web.py b/lib/spack/spack/util/web.py
index ba3817bb5f..fbd4ea8c5a 100644
--- a/lib/spack/spack/util/web.py
+++ b/lib/spack/spack/util/web.py
@@ -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.