Skip to content

Commit

Permalink
Fixed Method name and Trace Span name being different
Browse files Browse the repository at this point in the history
  • Loading branch information
sinmetal committed Jun 19, 2023
1 parent 005d2df commit 35f2a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35f2a28

Please sign in to comment.