-
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.
* Tidy imports, make logErrStacks private Signed-off-by: Andrew Mason <[email protected]> * Migrate vterrors to `pflag` Since every binary will involve errors in some way, shape, or form, I decided to just register the vterrors flags to all binaries, rather than naming each binary explicitly. This notably does the _inverse_ of the code samples in the [Mover's Guide][1], because `servenv` has `vterrors` in its dependency chain, so trying to import `servenv` from `vterrors` would cause an import cycle. This is the approach we should continue to use for any vitess package imported by `servenv`. [1]: see #10697 (comment)) Signed-off-by: Andrew Mason <[email protected]>
- Loading branch information
Andrew Mason
authored
Aug 9, 2022
1 parent
7f25195
commit 06c3515
Showing
3 changed files
with
20 additions
and
16 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