From 55b8a8877dbf00583208558c03221b2f1df2fad9 Mon Sep 17 00:00:00 2001 From: sinmetal Date: Mon, 19 Jun 2023 12:02:18 +0900 Subject: [PATCH] fix(storage): Same method name and Trace Span name --- storage/bucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/bucket.go b/storage/bucket.go index c27a9012a90..e8595cd0dda 100644 --- a/storage/bucket.go +++ b/storage/bucket.go @@ -152,7 +152,7 @@ func (b *BucketHandle) Attrs(ctx context.Context) (attrs *BucketAttrs, err error // Update updates a bucket's attributes. func (b *BucketHandle) Update(ctx context.Context, uattrs BucketAttrsToUpdate) (attrs *BucketAttrs, err error) { - ctx = trace.StartSpan(ctx, "cloud.google.com/go/storage.Bucket.Create") + ctx = trace.StartSpan(ctx, "cloud.google.com/go/storage.Bucket.Update") defer func() { trace.EndSpan(ctx, err) }() isIdempotent := b.conds != nil && b.conds.MetagenerationMatch != 0