Skip to content

Commit

Permalink
s3 debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Jul 13, 2023
1 parent 26c9fe4 commit 3582c57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iceprod/server/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ def presign_s3(cfg):
raise RuntimeError('bad s3 bucket')

s = S3(url, s3_creds[url]['access_key'], s3_creds[url]['secret_key'], bucket=bucket)
logger.info(f'S3 url={url} bucket={bucket} key={key}')
if d['movement'] == 'input':
d['remote'] = s.get_presigned(key, expiration=expiration)
new_data.append(d)
Expand Down

0 comments on commit 3582c57

Please sign in to comment.