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

vdk-core: make db_default_type case insensitive #935

Merged
merged 2 commits into from Aug 15, 2022

Conversation

antoniivanov
Copy link
Collaborator

It is a common error where you can set db_default_type=sqlite but
because it's declared in the plugin as "SQLITE" we get error that no
such db connection type exists which is not true.

This PR changes it so that the db type check is not case sensitive

Testing Done: unit tests

Signed-off-by: Antoni Ivanov aivanov@vmware.com

@antoniivanov antoniivanov requested review from ivakoleva and gageorgiev and removed request for ivakoleva August 8, 2022 13:46
It is a common error where you can set db_default_type=sqlite but
because it's declared in the plugin as "SQLITE" we get error that no
such db connection type exists which is not true.

This PR changes it so that the db type check is not case sensitive

Testing Done: unit tests

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
It is a common error where you can set db_default_type=sqlite but
because it's declared in the plugin as "SQLITE" we get error that no
such db connection type exists which is not true.

This PR changes it so that the db type check is not case sensitive

Testing Done: unit tests

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
@antoniivanov antoniivanov enabled auto-merge (squash) August 15, 2022 08:49
@antoniivanov antoniivanov enabled auto-merge (squash) August 15, 2022 08:49
@antoniivanov antoniivanov merged commit 84c8b8a into main Aug 15, 2022
@antoniivanov antoniivanov deleted the person/aivanov/vdk-core branch August 15, 2022 08:52
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.

None yet

3 participants