You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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 vitessio#10697 (comment))
Signed-off-by: Andrew Mason <[email protected]>
0 commit comments