From 585ce7f04ddc44788f82e9800b8ce14d18d5d994 Mon Sep 17 00:00:00 2001 From: Pat Christopher Date: Tue, 13 Jul 2021 19:03:39 -0700 Subject: [PATCH] missed a paren --- test/instrumentation/decode_metric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/instrumentation/decode_metric.go b/test/instrumentation/decode_metric.go index b51decee9a8..9c586378622 100644 --- a/test/instrumentation/decode_metric.go +++ b/test/instrumentation/decode_metric.go @@ -188,7 +188,7 @@ func (c *metricDecoder) decodeOpts(expr ast.Expr) (metric, error) { 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 { return m, newDecodeErrorf(expr, errBadVariableAttribute) }