Skip to content

Commit f7d7889

Browse files
committed
bugfix - delete_file()
1 parent c0d42a3 commit f7d7889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/filenameprocessor/src/file_name_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def handle_extended_attributes_file(
275275
dest_file_key = f"dps_destination/{file_key}"
276276
copy_file_outside_bucket(bucket_name, file_key, DPS_DESTINATION_BUCKET_NAME, dest_file_key)
277277
is_file_in_bucket(DPS_DESTINATION_BUCKET_NAME, dest_file_key)
278-
delete_file(DPS_DESTINATION_BUCKET_NAME, dest_file_key)
278+
delete_file(bucket_name, dest_file_key)
279279

280280
upsert_audit_table(
281281
message_id,

0 commit comments

Comments
 (0)