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

Ensure windsock path exists #3

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

rukai
Copy link
Member

@rukai rukai commented Mar 18, 2024

I hit a panic when running shotover's windsock benches as it assumed that the path returned by windsock_path() existed.
Usually windsock's code will create windsock_path as a required parent of another directory. However to avoid confusing users as I was today, lets make the call to windsock_path() ensure at least its own path exists before returning.

@rukai rukai requested a review from conorbros March 18, 2024 04:20
@rukai rukai merged commit bb2384e into shotover:main Mar 18, 2024
34 checks passed
@rukai rukai mentioned this pull request Mar 25, 2024
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.

3 participants