Skip to content

Commit 8378ee4

Browse files
authored
fix: wrong dry run s3 url (#59)
* 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
1 parent 101b564 commit 8378ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdps_ds_lib/stage_in_out/upload_granules_by_complete_catalog_s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __exec_dry_run(self, each_child, lock) -> bool:
139139
})
140140
local_results.append({
141141
'granule_file': each_child,
142-
's3_url': f'{self.__staging_bucket}://{current_collection_id}/{current_collection_id}:{current_granule_id}/{os.path.basename(asset_href)}'
142+
's3_url': f's3://{self.__staging_bucket}/{current_collection_id}/{current_collection_id}:{current_granule_id}/{os.path.basename(asset_href)}'
143143
})
144144
except Exception as e:
145145
local_errors.append({

0 commit comments

Comments
 (0)