chore(deps): update all golang dependencies

This commit is contained in:
tuunit
2024-09-23 16:38:40 +02:00
committed by Jan Larwig
parent fff5dd358f
commit 41c8d5bfce
5 changed files with 124 additions and 36 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ func getTargetPrincipal(ctx context.Context, opts options.GoogleOptions) (target
case content["client_email"] != nil:
targetPrincipal = fmt.Sprintf("%v", content["client_email"])
case metadata.OnGCE():
targetPrincipal, err = metadata.Email("")
targetPrincipal, err = metadata.EmailWithContext(ctx, "")
if err != nil {
logger.Fatal("error while calling the GCE metadata server", err)
}