Doesn't ignore web params when web.metrics.prometheus is set
This commit is contained in:
parent
40b3c17703
commit
1c8acf3929
2 changed files with 3 additions and 3 deletions
2
vendor/github.com/containous/flaeg/flaeg.go
generated
vendored
2
vendor/github.com/containous/flaeg/flaeg.go
generated
vendored
|
@ -343,7 +343,7 @@ func fillStructRecursive(objValue reflect.Value, defaultPointerValmap map[string
|
|||
contains := false
|
||||
for flag := range valmap {
|
||||
// TODO replace by regexp
|
||||
if strings.Contains(flag, name+".") {
|
||||
if strings.HasPrefix(flag, name+".") {
|
||||
contains = true
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue