Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant slash from s3 URI #5698

Closed
wants to merge 1 commit into from

Conversation

robsyme
Copy link
Collaborator

@robsyme robsyme commented Jan 22, 2025

Before this fix, calling the toUri method on an instance of nextflow.cloud.aws.nio.S3Path would print a triple-slash path:

s3:///bucket-name/path/to/SampleSheet.csv

This fix removes the redundant slash when there is no endpoint specified.

Before this fix, calling the `toUri` method on an instance of nextflow.cloud.aws.nio.S3Path would print a triple-slash path:

```
s3:///bucket-name/path/to/SampleSheet.csv
```

This fix removes the redundant slash when there is no endpoint specified.

Signed-off-by: Robert Syme <rob.syme@gmail.com>
Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 5f26fb0
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/67912d47f8b0200008dc38d5

@robsyme
Copy link
Collaborator Author

robsyme commented Jan 22, 2025

Nevermind - I see it's part of the URI spec. Closing

@robsyme robsyme closed this Jan 22, 2025
@robsyme robsyme deleted the remove-redundant-slash-s3path-uri branch January 22, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant