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: detection of SQLite memory mode #564

Merged
merged 2 commits into from
Jul 10, 2020
Merged

fix: detection of SQLite memory mode #564

merged 2 commits into from
Jul 10, 2020

Conversation

tricky42
Copy link
Contributor

@tricky42 tricky42 commented Jul 9, 2020

Proposed changes

The configuration shortcut dsn="memory" was not recognize correctly. This PR fixes the check for SQLite memory mode and extracts the test into a function and adds a test for the function.

Checklist

  • I have read the contributing guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security. vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

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

Looking good! Not sure why the CI isn't running though...

driver/registry.go Outdated Show resolved Hide resolved
Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
@aeneasr aeneasr merged commit 605cd57 into ory:master Jul 10, 2020
@aeneasr
Copy link
Member

aeneasr commented Jul 10, 2020

Awesome, thank you!

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.

2 participants