open-consul/consul
Sean Chittenden 7482a9207d
Chase casting types.CheckID to a string into the state_store.
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.
2016-06-07 16:59:02 -04:00
..
agent Rename server_details package to agent 2016-03-29 17:39:19 -07:00
prepared_query
servers Remove stray type definition 2016-05-10 18:56:28 -07:00
state Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
structs Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
acl.go
acl_endpoint.go
acl_endpoint_test.go
acl_test.go
catalog_endpoint.go Revert "Move `structs.CheckID` to a new top-level package, `types`." 2016-06-07 16:59:02 -04:00
catalog_endpoint_test.go Gets rid of flaky sort check. 2016-03-21 17:30:05 -07:00
client.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
client_test.go Add description to rpc test client pool member failure message 2016-04-01 19:17:38 -07:00
config.go
coordinate_endpoint.go
coordinate_endpoint_test.go Increases timeouts for coordinate tests. 2016-03-21 16:44:35 -07:00
endpoints.md
filter.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
filter_test.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
fsm.go Adds a read-only optimized path for transactions. 2016-05-13 00:34:05 -07:00
fsm_test.go Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
health_endpoint.go
health_endpoint_test.go
internal_endpoint.go
internal_endpoint_test.go
issue_test.go
kvs_endpoint.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
kvs_endpoint_test.go Moves txn code into a new endpoint, not specific to KV. 2016-05-10 21:58:02 -07:00
leader.go Chase casting types.CheckID to a string into the state_store. 2016-06-07 16:59:02 -04:00
leader_test.go
merge.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
pool.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
prepared_query_endpoint.go
prepared_query_endpoint_test.go Increases timeouts for coordinate tests. 2016-03-21 16:44:35 -07:00
raft_rpc.go
rpc.go
rtt.go
rtt_test.go
serf.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
serf_test.go
server.go Merge pull request #2028 from hashicorp/f-atomic-kv 2016-05-15 13:46:05 -07:00
server_test.go
session_endpoint.go
session_endpoint_test.go
session_ttl.go
session_ttl_test.go
status_endpoint.go
status_endpoint_test.go
txn_endpoint.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
txn_endpoint_test.go Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
util.go Refactor consul.serverParts into server_details.ServerDetails 2016-03-23 16:15:47 -07:00
util_test.go Refactor consul.serverParts into server_details.ServerDetails 2016-03-23 16:15:47 -07:00