Skip to content

Commit

Permalink
Merge pull request #1076 from HubSpot/find_files
Browse files Browse the repository at this point in the history
(logfetch) find previously downloaded files correctly
  • Loading branch information
ssalinas committed Jun 9, 2016
2 parents 7cc31cb + 6037c1a commit 1fe4fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/logfetch/s3_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ def download_s3_logs(args):
logfetch_base.log(colored('Starting {0} S3 Downloads with {1} parallel fetches\n'.format(len(async_requests), args.num_parallel_fetches), 'cyan'), args, False)
callbacks.goal = len(async_requests)
grequests.map(async_requests, stream=True, size=args.num_parallel_fetches)
all_logs = modify_download_list(all_logs)
else:
logfetch_base.log(colored('No S3 logs to download\n', 'cyan'), args, False)
logfetch_base.log(colored('All S3 logs up to date\n', 'cyan'), args, False)
all_logs = modify_download_list(all_logs)
return all_logs

def modify_download_list(all_logs):
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='singularity-logfetch',
version='0.26.0',
version='0.26.1',
description='Singularity log fetching and searching',
author="HubSpot",
author_email='[email protected]',
Expand Down

0 comments on commit 1fe4fc1

Please sign in to comment.