forked from toolshed/abra
refactor: urfave v3
This commit is contained in:
4
vendor/github.com/docker/go-metrics/namespace.go
generated
vendored
4
vendor/github.com/docker/go-metrics/namespace.go
generated
vendored
@ -37,8 +37,8 @@ type Namespace struct {
|
||||
// WithConstLabels returns a namespace with the provided set of labels merged
|
||||
// with the existing constant labels on the namespace.
|
||||
//
|
||||
// Only metrics created with the returned namespace will get the new constant
|
||||
// labels. The returned namespace must be registered separately.
|
||||
// Only metrics created with the returned namespace will get the new constant
|
||||
// labels. The returned namespace must be registered separately.
|
||||
func (n *Namespace) WithConstLabels(labels Labels) *Namespace {
|
||||
n.mu.Lock()
|
||||
ns := &Namespace{
|
||||
|
Reference in New Issue
Block a user