mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bootstrapper: undefine -v flag to avoid collision
This commit is contained in:
parent
79f52e67cb
commit
cf627bc22d
@ -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…
Reference in New Issue
Block a user