From 9ad8b9ff19b5f85fe92f611059171b888c116b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Tisa=CC=88ter?= Date: Wed, 23 Jul 2014 10:33:27 +0200 Subject: [PATCH] Make service index case-insensitive --- consul/state_store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/state_store.go b/consul/state_store.go index 39d778850c..ed823eb2e1 100644 --- a/consul/state_store.go +++ b/consul/state_store.go @@ -201,6 +201,7 @@ func (s *StateStore) initialize() error { "service": &MDBIndex{ AllowBlank: true, Fields: []string{"ServiceName"}, + CaseInsensitive: true, }, }, Decoder: func(buf []byte) interface{} {