Skip to content

Commit

Permalink
Skip curry value to demo
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Stone <zach@giantswarm.io>
  • Loading branch information
stone-z committed Mar 28, 2022
1 parent 7e947b6 commit e79ef55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions prometheus/vec.go
Expand Up @@ -453,14 +453,14 @@ func matchPartialLabels(desc *Desc, values []string, labels Labels, curry []curr
varLabelIndex, validLabel := indexOf(l, desc.variableLabels)
if validLabel {
// Check the value of that label against the target value.
if valueOrCurriedValue(varLabelIndex, values, curry) == v {
continue
}

// if values[varLabelIndex] == v {
// if valueOrCurriedValue(varLabelIndex, values, curry) == v {
// continue

// }

if values[varLabelIndex] == v {
continue

}
}
return false
}
Expand Down

0 comments on commit e79ef55

Please sign in to comment.