Update go-tpm dependency (#533)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-11-14 09:02:56 +01:00 committed by GitHub
parent d612ed2cae
commit a07cab4b97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 21 additions and 45 deletions

View file

@ -24,12 +24,10 @@ import (
func main() {
provider := flag.String("cloud-provider", "", "cloud service provider this binary is running on")
// 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)
verbosity := 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 Verification Service")