mirror of https://github.com/status-im/consul.git
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…
Reference in New Issue