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

fix: honor hostname in library:// URI for singularity delete #244

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

dtrudg
Copy link
Member

@dtrudg dtrudg commented Aug 12, 2021

singularity delete would accept a hostname in the library:// URI
provided, but would perform the request against the default remote.

Fix this, so it is handled in the same way as for push/pull.

This fixes or addresses the following GitHub issues:

Before submitting a PR, make sure you have done the following:

@dtrudg dtrudg added the bug Something isn't working label Aug 12, 2021
@dtrudg dtrudg added this to the SingularityCE 3.9.0 milestone Aug 12, 2021
@dtrudg dtrudg self-assigned this Aug 12, 2021
@dtrudg dtrudg requested a review from tri-adam August 12, 2021 20:03
Copy link
Member

@tri-adam tri-adam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one question on an edge case, thanks.

cmd/internal/cli/delete.go Show resolved Hide resolved
`singularity delete` would accept a hostname in the library:// URI
provided, but would perform the request against the default remote.

Fix this, so it is handled in the same way as for push/pull.

Fixes sylabs#243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

delete does not honor hostname in library URI
2 participants