mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-29 19:21:13 +02:00
chore(deps): update all golang dependencies
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user