mirror of
https://github.com/rclone/rclone.git
synced 2025-08-16 08:38:11 +02:00
vendor: update all dependencies
This commit is contained in:
19
vendor/cloud.google.com/go/debugger/apiv2/doc.go
generated
vendored
19
vendor/cloud.google.com/go/debugger/apiv2/doc.go
generated
vendored
@ -15,7 +15,7 @@
|
||||
// AUTO-GENERATED CODE. DO NOT EDIT.
|
||||
|
||||
// Package debugger is an experimental, auto-generated package for the
|
||||
// debugger API.
|
||||
// Stackdriver Debugger API.
|
||||
//
|
||||
// Examines the call stack and variables of a running application
|
||||
// without stopping or slowing it down.
|
||||
@ -28,9 +28,18 @@ import (
|
||||
"google.golang.org/grpc/metadata"
|
||||
)
|
||||
|
||||
func insertXGoog(ctx context.Context, val string) context.Context {
|
||||
md, _ := metadata.FromContext(ctx)
|
||||
func insertXGoog(ctx context.Context, val []string) context.Context {
|
||||
md, _ := metadata.FromOutgoingContext(ctx)
|
||||
md = md.Copy()
|
||||
md["x-goog-api-client"] = []string{val}
|
||||
return metadata.NewContext(ctx, md)
|
||||
md["x-goog-api-client"] = val
|
||||
return metadata.NewOutgoingContext(ctx, md)
|
||||
}
|
||||
|
||||
// DefaultAuthScopes reports the authentication scopes required
|
||||
// by this package.
|
||||
func DefaultAuthScopes() []string {
|
||||
return []string{
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud_debugger",
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user