Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readyset: Infer default database_type from upstream_db_url
Make the database-type argument optional if the upstream_db_url is present, and infer it from the upstream db url (by parsing it) if it's not provided. If it *is* provided, check that it matches so we can provide a nicer error message if it doesn't match. Fixes: ENG-2935 Fixes: ENG-2897 Change-Id: Iae6e4e0beba0aa8eaff8c18befd60d53fe56da3f Reviewed-on: https://gerrit.readyset.name/c/readyset/+/4781 Reviewed-by: Dan Wilbanks <dan@readyset.io> Tested-by: Buildkite CI
- Loading branch information
1 parent
32ca537
commit 8ad4482
Showing
2 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters