From 682b0113b83dccd3ac59013353e944c84a5c03d6 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Mon, 12 Oct 2015 23:01:21 -0700 Subject: [PATCH] Cleans up some go vet warnings. --- consul/state/state_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/state/state_store.go b/consul/state/state_store.go index 2b12ce6a50..259f98b447 100644 --- a/consul/state/state_store.go +++ b/consul/state/state_store.go @@ -289,7 +289,7 @@ func (s *StateStore) getTableWatch(table string) Watch { return watch } - panic(fmt.Sprintf("Unknown watch for table %#s", table)) + panic(fmt.Sprintf("Unknown watch for table %s", table)) } // GetQueryWatch returns a watch for the given query method. This is @@ -315,7 +315,7 @@ func (s *StateStore) GetQueryWatch(method string) Watch { return s.getTableWatch("acls") } - panic(fmt.Sprintf("Unknown method %#s", method)) + panic(fmt.Sprintf("Unknown method %s", method)) } // GetKVSWatch returns a watch for the given prefix in the key value store.