mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 23:57:07 +00:00
Make service index case-insensitive
This commit is contained in:
parent
9359f899f5
commit
9ad8b9ff19
@ -201,6 +201,7 @@ func (s *StateStore) initialize() error {
|
|||||||
"service": &MDBIndex{
|
"service": &MDBIndex{
|
||||||
AllowBlank: true,
|
AllowBlank: true,
|
||||||
Fields: []string{"ServiceName"},
|
Fields: []string{"ServiceName"},
|
||||||
|
CaseInsensitive: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Decoder: func(buf []byte) interface{} {
|
Decoder: func(buf []byte) interface{} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user