mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
Update go-tpm dependency (#533)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
d612ed2cae
commit
a07cab4b97
13 changed files with 21 additions and 45 deletions
|
@ -51,12 +51,10 @@ const (
|
|||
|
||||
func main() {
|
||||
csp := flag.String("csp", "", "Cloud Service Provider the image 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", *csp)).
|
||||
Infof("Starting disk-mapper")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue