summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/list-snapshots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/list-snapshots.py b/scripts/list-snapshots.py
index 2f10a56..b3bd98e 100755
--- a/scripts/list-snapshots.py
+++ b/scripts/list-snapshots.py
@@ -37,14 +37,14 @@ def compare(l, r):
s3 = boto3.client('s3')
-object_listing = s3.list_objects_v2(Bucket=bucket, Prefix='snapshot/equuleus')
+object_listing = s3.list_objects_v2(Bucket=bucket, Prefix='snapshot')
data = object_listing['Contents']
files = []
for f in data:
files.append(f['Key'])
-snapshot_names = set(map(lambda s: re.sub(r'snapshot/equuleus/(.*?)/.*', r'\1', s), files))
+snapshot_names = set(map(lambda s: re.sub(r'snapshot/(.*?)/.*', r'\1', s), files))
snapshots = []