Use lower case for serviceName computation of cache keys

This commit is contained in:
Pierre Souchay 2021-02-09 19:19:40 +01:00
parent b999e5fe2c
commit 2c44a731c8
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ func (r *ServiceSpecificRequest) CacheInfo() cache.RequestInfo {
sort.Strings(r.ServiceTags)
v, err := hashstructure.Hash([]interface{}{
r.NodeMetaFilters,
r.ServiceName,
strings.ToLower(r.ServiceName),
// DEPRECATED (singular-service-tag) - remove this when upgrade RPC compat
// with 1.2.x is not required. We still need this in because <1.3 agents
// might still send RPCs with singular tag set. In fact the only place we