From f034581bffbb15324a7608236282e035f2c989d2 Mon Sep 17 00:00:00 2001 From: Xiang Dai <764524258@qq.com> Date: Fri, 7 Feb 2020 15:22:59 +0800 Subject: [PATCH] pkg/store/proxy.go: optimize help info (#2096) Signed-off-by: Xiang Dai <764524258@qq.com> --- pkg/store/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/store/proxy.go b/pkg/store/proxy.go index 9d2c677548..1af4242d28 100644 --- a/pkg/store/proxy.go +++ b/pkg/store/proxy.go @@ -294,7 +294,7 @@ func (s *ProxyStore) Series(r *storepb.SeriesRequest, srv storepb.Store_SeriesSe level.Debug(s.logger).Log("msg", strings.Join(storeDebugMsgs, ";")) if len(seriesSet) == 0 { // This is indicates that configured StoreAPIs are not the ones end user expects. - err := errors.New("No store matched for this query") + err := errors.New("No StoreAPIs matched for this query") level.Warn(s.logger).Log("err", err, "stores", strings.Join(storeDebugMsgs, ";")) respSender.send(storepb.NewWarnSeriesResponse(err)) return nil