mirror of https://github.com/status-im/consul.git
e9a2f5b40c
It turns out the indexer can only use strings as arguments when creating a query. Cast `types.CheckID` to a `string` before calling into `memdb`. Ideally the indexer would be smart enough to do this at compile-time, but I need to look into how to do this without reflection and the runtime package. For the time being statically cast `types.CheckID` to a `string` at the call sites. |
||
---|---|---|
.. | ||
agent | ||
configtest.go | ||
configtest_test.go | ||
event.go | ||
event_test.go | ||
exec.go | ||
exec_test.go | ||
force_leave.go | ||
force_leave_test.go | ||
info.go | ||
info_test.go | ||
join.go | ||
join_test.go | ||
keygen.go | ||
keygen_test.go | ||
keyring.go | ||
keyring_test.go | ||
leave.go | ||
leave_test.go | ||
lock.go | ||
lock_test.go | ||
maint.go | ||
maint_test.go | ||
members.go | ||
members_test.go | ||
monitor.go | ||
reload.go | ||
reload_test.go | ||
rpc.go | ||
rpc_test.go | ||
rtt.go | ||
rtt_test.go | ||
util_test.go | ||
util_unix.go | ||
util_windows.go | ||
version.go | ||
version_test.go | ||
watch.go | ||
watch_test.go |