mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-01 17:36:53 -04:00
bootstrapper: undefine -v flag to avoid collision
This commit is contained in:
parent
79f52e67cb
commit
cf627bc22d
1 changed files with 5 additions and 2 deletions
|
@ -49,9 +49,12 @@ const (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
gRPCDebug := flag.Bool("debug", false, "Enable gRPC debug logging")
|
gRPCDebug := flag.Bool("debug", false, "Enable gRPC debug logging")
|
||||||
verbosity := flag.Int("v", 0, logger.CmdLineVerbosityDescription)
|
|
||||||
|
// FIXME: define flag again once its definition no longer collides with glog.
|
||||||
|
// This should happen as soon as https://github.com/google/go-sev-guest/issues/23 is merged and consumed by us.
|
||||||
|
verbosity := 0 // flag.Int("v", 0, logger.CmdLineVerbosityDescription)
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
log := logger.New(logger.JSONLog, logger.VerbosityFromInt(*verbosity)).Named("bootstrapper")
|
log := logger.New(logger.JSONLog, logger.VerbosityFromInt(verbosity)).Named("bootstrapper")
|
||||||
defer log.Sync()
|
defer log.Sync()
|
||||||
|
|
||||||
if *gRPCDebug {
|
if *gRPCDebug {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue