mirror of
https://github.com/status-im/consul.git
synced 2025-02-05 02:16:09 +00:00
Cleans up some go vet warnings.
This commit is contained in:
parent
cc6a7a2174
commit
682b0113b8
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user