Update go dependencies
This commit is contained in:
parent
6438c9f6fe
commit
baf9cc47bd
53 changed files with 2802 additions and 374 deletions
2
images/404-server/vendor/github.com/prometheus/common/model/labelset.go
generated
vendored
2
images/404-server/vendor/github.com/prometheus/common/model/labelset.go
generated
vendored
|
|
@ -160,7 +160,7 @@ func (l *LabelSet) UnmarshalJSON(b []byte) error {
|
|||
// LabelName as a string and does not call its UnmarshalJSON method.
|
||||
// Thus, we have to replicate the behavior here.
|
||||
for ln := range m {
|
||||
if !LabelNameRE.MatchString(string(ln)) {
|
||||
if !ln.IsValid() {
|
||||
return fmt.Errorf("%q is not a valid label name", ln)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue