diff --git a/CHANGELOG.md b/CHANGELOG.md index a828d589e49..ca29ae61853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.8 (Unreleased) + +BUG FIXES: + * core: Fix search endpoint forwarding for multi-region clusters [GH-3679] + ## 0.7.1 (December 19, 2017) __BACKWARDS INCOMPATIBILITIES:__ diff --git a/nomad/search_endpoint.go b/nomad/search_endpoint.go index 512ef3e044f..9eb892dd31c 100644 --- a/nomad/search_endpoint.go +++ b/nomad/search_endpoint.go @@ -119,7 +119,7 @@ func (s *Search) PrefixSearch(args *structs.SearchRequest, reply *structs.Search if done, err := s.srv.forward("Search.PrefixSearch", args, args, reply); done { return err } - defer metrics.MeasureSince([]string{"nomad", "search", "prefixsearch"}, time.Now()) + defer metrics.MeasureSince([]string{"nomad", "search", "prefix_search"}, time.Now()) aclObj, err := s.srv.ResolveToken(args.AuthToken) if err != nil {