code review fixups; add changelog
This commit is contained in:
Chelsea Holland Komlo 2017-12-20 17:52:41 -05:00
parent 24c56e3976
commit 940bc59790
2 changed files with 6 additions and 1 deletions

View File

@ -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:__

View File

@ -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 {