mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -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
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue