-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vindexes: return unknown params (#12951)
* go/vt/vtgate/vindexes: (in)validate unknown and required params Signed-off-by: Max Englander <[email protected]> * dont mess around with require params for now Signed-off-by: Max Englander <[email protected]> * expose unknown vindex params as warnings Signed-off-by: Max Englander <[email protected]> * fix some broken tests Signed-off-by: Max Englander <[email protected]> * fix more broken tests Signed-off-by: Max Englander <[email protected]> * check for warnings Signed-off-by: Max Englander <[email protected]> * unexport vindexes.New*, force use CreateVindex Signed-off-by: Max Englander <[email protected]> * test for allowed/unknown params Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * remove Info() tests Signed-off-by: Max Englander <[email protected]> * checkpoint Signed-off-by: Max Englander <[email protected]> * check for warnings in tests Signed-off-by: Max Englander <[email protected]> * check for warnings in tests Signed-off-by: Max Englander <[email protected]> * rfc option 1 Signed-off-by: Max Englander <[email protected]> * InvalidParamErrors() []error => UnknownParams() []string Signed-off-by: Max Englander <[email protected]> * pr feedback: +license, simplify ret val, constant param keys Signed-off-by: Max Englander <[email protected]> * whoops actually use param constants Signed-off-by: Max Englander <[email protected]> --------- Signed-off-by: Max Englander <[email protected]>
- Loading branch information
1 parent
cc380c4
commit 7830175
Showing
52 changed files
with
2,488 additions
and
680 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
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
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
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
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
Oops, something went wrong.