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

Allow vault gen server to return other responses #123

Merged
merged 1 commit into from Apr 6, 2024

Conversation

spencerdcarlson
Copy link
Contributor

@spencerdcarlson spencerdcarlson commented May 6, 2023

I ran into a case where I wanted to return :ignore in my Vault init/1 callback, but the strict match on {:ok, pid} was causing the supervisor to crash.

@coveralls
Copy link

coveralls commented May 6, 2023

Coverage Status

Coverage: 98.0% (-1.0%) from 98.98% when pulling 8b8e156 on spencerdcarlson:master into 404727b on danielberkompas:master.

@coveralls
Copy link

Coverage Status

Coverage: 98.0% (-1.0%) from 98.98% when pulling 8b8e156 on spencerdcarlson:master into 404727b on danielberkompas:master.

@danielberkompas danielberkompas changed the title allow other genserver return values Allow vault gen server to return other responses Apr 6, 2024
@danielberkompas danielberkompas merged commit 4230269 into danielberkompas:master Apr 6, 2024
2 checks passed
danielberkompas added a commit that referenced this pull request Apr 6, 2024
This PR didn't have test coverage, so I added some after the merge:
#123
@danielberkompas
Copy link
Owner

Thanks! ⭐

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.

None yet

3 participants