Skip to content

Commit

Permalink
fix: wrong dry run s3 url (#59)
Browse files Browse the repository at this point in the history
* feat: add AUDIT log level for upload

* chore: update outdated tests

* fix: allow empty str as RESULT_PATH_PREFIX & replace w/ default val

* fix: error wrong s3 url format
  • Loading branch information
wphyojpl authored Nov 7, 2024
1 parent 101b564 commit 8378ee4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __exec_dry_run(self, each_child, lock) -> bool:
})
local_results.append({
'granule_file': each_child,
's3_url': f'{self.__staging_bucket}://{current_collection_id}/{current_collection_id}:{current_granule_id}/{os.path.basename(asset_href)}'
's3_url': f's3://{self.__staging_bucket}/{current_collection_id}/{current_collection_id}:{current_granule_id}/{os.path.basename(asset_href)}'
})
except Exception as e:
local_errors.append({
Expand Down

0 comments on commit 8378ee4

Please sign in to comment.