mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 08:59:34 -05:00
undefine more -v flags due to glog
This commit is contained in:
parent
cf627bc22d
commit
7a6a0766e8
@ -50,10 +50,12 @@ const (
|
||||
|
||||
func main() {
|
||||
csp := flag.String("csp", "", "Cloud Service Provider the image is running on")
|
||||
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", *csp)).
|
||||
Infof("Starting disk-mapper")
|
||||
|
||||
|
@ -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…
Reference in New Issue
Block a user