Skip to content

Commit 1fe4fc1

Browse files
committed
Merge pull request #1076 from HubSpot/find_files
(logfetch) find previously downloaded files correctly
2 parents 7cc31cb + 6037c1a commit 1fe4fc1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/logfetch/s3_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def download_s3_logs(args):
4242
logfetch_base.log(colored('Starting {0} S3 Downloads with {1} parallel fetches\n'.format(len(async_requests), args.num_parallel_fetches), 'cyan'), args, False)
4343
callbacks.goal = len(async_requests)
4444
grequests.map(async_requests, stream=True, size=args.num_parallel_fetches)
45-
all_logs = modify_download_list(all_logs)
4645
else:
4746
logfetch_base.log(colored('No S3 logs to download\n', 'cyan'), args, False)
4847
logfetch_base.log(colored('All S3 logs up to date\n', 'cyan'), args, False)
48+
all_logs = modify_download_list(all_logs)
4949
return all_logs
5050

5151
def modify_download_list(all_logs):

scripts/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name='singularity-logfetch',
14-
version='0.26.0',
14+
version='0.26.1',
1515
description='Singularity log fetching and searching',
1616
author="HubSpot",
1717
author_email='singularity-users@googlegroups.com',

0 commit comments

Comments
 (0)