Skip to content

Commit

Permalink
Fix for CCLF
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeah committed Jun 24, 2024
1 parent 424c0d7 commit 5eb5b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bcda/lambda/cclf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func cclfImportHandler(ctx context.Context, sqsEvent events.SQSEvent) (string, e
return "", err
}

parts := strings.Split(e.S3.Object.Key, "/")
parts := strings.SplitN(e.S3.Object.Key, "/", 2)

if len(parts) == 1 {
return handleCclfImport(s3AssumeRoleArn, e.S3.Bucket.Name)
Expand Down

0 comments on commit 5eb5b42

Please sign in to comment.