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: do not require a directory for remote urls #1283

Merged
merged 4 commits into from
Oct 19, 2024

Conversation

Reecepbcups
Copy link
Member

@Reecepbcups Reecepbcups commented Oct 12, 2024

Closes #1282

Summary

If a URL is used instead of a base file (filename or filename.(json|yaml), it will not call GetDirectory() as it is not needed. This previously caused issues for the SpawnUI as we only use remote github links and it required us to mount a volume for an empty chains/ directory.

logical change

If URL, don't get directory. Else do get parent directory

Copy link

vercel bot commented Oct 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
interchaintest-docs ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2024 0:16am

@Reecepbcups Reecepbcups marked this pull request as ready for review October 12, 2024 21:18
@Reecepbcups Reecepbcups requested a review from a team as a code owner October 12, 2024 21:18
Copy link
Member

@jtieri jtieri left a comment

Choose a reason for hiding this comment

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

lgtm

local-interchain/cmd/local-ic/start_chain.go Outdated Show resolved Hide resolved
@Reecepbcups Reecepbcups enabled auto-merge (squash) October 18, 2024 19:28
@Reecepbcups Reecepbcups merged commit 6717d03 into main Oct 19, 2024
20 checks passed
@Reecepbcups Reecepbcups deleted the reece/rm-dir-req-for-remote-urls branch October 19, 2024 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Unclassified]: fix local-ic tls error & required chains/ dir
2 participants