diff --git a/storage/remote/read.go b/storage/remote/read.go index c99a8a961..e7cafc9fe 100644 --- a/storage/remote/read.go +++ b/storage/remote/read.go @@ -68,9 +68,9 @@ func (q *querier) Close() error { return nil } -// ExternablLabelsHandler returns a storage.Queryable which creates a +// ExternalLabelsHandler returns a storage.Queryable which creates a // externalLabelsQuerier. -func ExternablLabelsHandler(next storage.Queryable, externalLabels model.LabelSet) storage.Queryable { +func ExternalLabelsHandler(next storage.Queryable, externalLabels model.LabelSet) storage.Queryable { return storage.QueryableFunc(func(ctx context.Context, mint, maxt int64) (storage.Querier, error) { q, err := next.Querier(ctx, mint, maxt) if err != nil { diff --git a/storage/remote/storage.go b/storage/remote/storage.go index 820d0ffa4..92d96c284 100644 --- a/storage/remote/storage.go +++ b/storage/remote/storage.go @@ -107,7 +107,7 @@ func (s *Storage) ApplyConfig(conf *config.Config) error { } q := QueryableClient(c) - q = ExternablLabelsHandler(q, conf.GlobalConfig.ExternalLabels) + q = ExternalLabelsHandler(q, conf.GlobalConfig.ExternalLabels) if len(rrConf.RequiredMatchers) > 0 { q = RequiredMatchersFilter(q, labelsToEqualityMatchers(rrConf.RequiredMatchers)) }