mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -04:00
undefine more -v flags due to glog
This commit is contained in:
parent
cf627bc22d
commit
7a6a0766e8
2 changed files with 8 additions and 4 deletions
|
@ -40,10 +40,12 @@ const vpcIPTimeout = 30 * time.Second
|
|||
func main() {
|
||||
provider := flag.String("cloud-provider", "", "cloud service provider this binary is running on")
|
||||
kmsEndpoint := flag.String("kms-endpoint", "", "endpoint of Constellations key management service")
|
||||
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()
|
||||
|
||||
log := logger.New(logger.JSONLog, logger.VerbosityFromInt(*verbosity))
|
||||
log := logger.New(logger.JSONLog, logger.VerbosityFromInt(verbosity))
|
||||
log.With(zap.String("version", constants.VersionInfo), zap.String("cloudProvider", *provider)).
|
||||
Infof("Constellation Node Join Service")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue