From fc4ea44ebebe490f5280b9799f9f9aaa6d21a791 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Thu, 17 May 2018 17:37:01 +0100 Subject: [PATCH] Fix type passed to fmt Signed-off-by: Brian Brazil --- expfmt/text_parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }