intenal: add logging to attestation issuer (#1264)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-02-28 16:34:18 +01:00 committed by GitHub
parent af8c6e70ad
commit b3486fc32b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 63 additions and 28 deletions

View file

@ -35,13 +35,13 @@ func main() {
var issuer server.AttestationIssuer
switch cloudprovider.FromString(*provider) {
case cloudprovider.AWS:
issuer = aws.NewIssuer()
issuer = aws.NewIssuer(log)
case cloudprovider.GCP:
issuer = gcp.NewIssuer()
issuer = gcp.NewIssuer(log)
case cloudprovider.Azure:
issuer = azure.NewIssuer()
issuer = azure.NewIssuer(log)
case cloudprovider.QEMU:
issuer = qemu.NewIssuer()
issuer = qemu.NewIssuer(log)
default:
log.With(zap.String("cloudProvider", *provider)).Fatalf("Unknown cloud provider")
}