Make service index case-insensitive

This commit is contained in:
William Tisäter 2014-07-23 10:33:27 +02:00
parent 9359f899f5
commit 9ad8b9ff19
1 changed files with 1 additions and 0 deletions

View File

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