mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
missed a paren
This commit is contained in:
@@ -188,7 +188,7 @@ func (c *metricDecoder) decodeOpts(expr ast.Expr) (metric, error) {
|
|||||||
return m, newDecodeErrorf(expr, errExprNotIdent, v.X)
|
return m, newDecodeErrorf(expr, errExprNotIdent, v.X)
|
||||||
}
|
}
|
||||||
|
|
||||||
variableExpr, found := c.variables[strings.Join([]string{s.Name,v.Sel.Name}, "."]
|
variableExpr, found := c.variables[strings.Join([]string{s.Name,v.Sel.Name}, ".")]
|
||||||
if !found {
|
if !found {
|
||||||
return m, newDecodeErrorf(expr, errBadVariableAttribute)
|
return m, newDecodeErrorf(expr, errBadVariableAttribute)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user