diff --git a/expfmt/text_parse.go b/expfmt/text_parse.go index b86290afa..ec3d86ba7 100644 --- a/expfmt/text_parse.go +++ b/expfmt/text_parse.go @@ -359,7 +359,7 @@ func (p *TextParser) startLabelValue() stateFn { } return p.readingValue default: - p.parseError(fmt.Sprintf("unexpected end of label value %q", p.currentLabelPair.Value)) + p.parseError(fmt.Sprintf("unexpected end of label value %q", p.currentLabelPair.GetValue())) return nil } }