mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
rebase: bump the github-dependencies group with 2 updates
Bumps the github-dependencies group with 2 updates: [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) and [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang). Updates `github.com/aws/aws-sdk-go-v2/service/sts` from 1.30.7 to 1.31.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/service/s3/v1.31.1/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/mgn/v1.30.7...service/s3/v1.31.1) Updates `github.com/prometheus/client_golang` from 1.20.3 to 1.20.4 - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/sts dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-dependencies - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
dbd8462bcc
commit
40ad4163cb
32
vendor/github.com/aws/smithy-go/tracing/nop.go
generated
vendored
Normal file
32
vendor/github.com/aws/smithy-go/tracing/nop.go
generated
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
package tracing
|
||||
|
||||
import "context"
|
||||
|
||||
// NopTracerProvider is a no-op tracing implementation.
|
||||
type NopTracerProvider struct{}
|
||||
|
||||
var _ TracerProvider = (*NopTracerProvider)(nil)
|
||||
|
||||
// Tracer returns a tracer which creates no-op spans.
|
||||
func (NopTracerProvider) Tracer(string, ...TracerOption) Tracer {
|
||||
return nopTracer{}
|
||||
}
|
||||
|
||||
type nopTracer struct{}
|
||||
|
||||
var _ Tracer = (*nopTracer)(nil)
|
||||
|
||||
func (nopTracer) StartSpan(ctx context.Context, name string, opts ...SpanOption) (context.Context, Span) {
|
||||
return ctx, nopSpan{}
|
||||
}
|
||||
|
||||
type nopSpan struct{}
|
||||
|
||||
var _ Span = (*nopSpan)(nil)
|
||||
|
||||
func (nopSpan) Name() string { return "" }
|
||||
func (nopSpan) Context() SpanContext { return SpanContext{} }
|
||||
func (nopSpan) AddEvent(string, ...EventOption) {}
|
||||
func (nopSpan) SetProperty(any, any) {}
|
||||
func (nopSpan) SetStatus(SpanStatus) {}
|
||||
func (nopSpan) End() {}
|
Reference in New Issue
Block a user