From 26fd7f2c69460a6ec68caa10343440157aad1e14 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 20 May 2019 19:01:26 +0200 Subject: [PATCH] Update prometheusvanilla/builders.go Fix error log Co-Authored-By: Oleg Zaytsev --- prometheusvanilla/builders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheusvanilla/builders.go b/prometheusvanilla/builders.go index 66d1938..cfb368f 100644 --- a/prometheusvanilla/builders.go +++ b/prometheusvanilla/builders.go @@ -131,7 +131,7 @@ func maxAgeFromTag(tag reflect.StructTag) (time.Duration, error) { } maxAgeDuration, err := time.ParseDuration(maxAgeString) if err != nil { - return 0, fmt.Errorf("invalid time duration specified: %s", err) + return 0, fmt.Errorf("invalid max_age tag specified: %s", err) } return maxAgeDuration, nil }