mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
fixed an issue where Arq buckets with 'comhaystacksoftwarearq' in the name were being ignored
This commit is contained in:
parent
3b46c1121f
commit
0009121dcc
1 changed files with 2 additions and 1 deletions
|
|
@ -56,7 +56,8 @@
|
|||
NSMutableArray *ret = [NSMutableArray array];
|
||||
for (NSString *theS3BucketName in s3BucketNames) {
|
||||
if ([theS3BucketName rangeOfString:@"-com-haystacksoftware-arq"].location == NSNotFound
|
||||
&& [theS3BucketName rangeOfString:@".com.haystacksoftware.arq"].location == NSNotFound) {
|
||||
&& [theS3BucketName rangeOfString:@".com.haystacksoftware.arq"].location == NSNotFound
|
||||
&& [theS3BucketName rangeOfString:@"comhaystacksoftwarearq"].location == NSNotFound) {
|
||||
HSLogDebug(@"skipping bucket %@", theS3BucketName);
|
||||
} else {
|
||||
NSString *queryPrefix = [NSString stringWithFormat:@"/%@/", [theS3BucketName lowercaseString]];
|
||||
|
|
|
|||
Loading…
Reference in a new issue