open-consul/agent/rpcclient/health
Daniel Nephin cf8520d85c submatview: only return materializer from getEntry
Also rename it to readEntry now that it doesn't return the entire entry. Based on feedback
in PR review, the full entry is not used by the caller, and accessing the fields wouldn't be
safe outside the lock, so it is safer to return only the Materializer
2021-04-27 19:03:17 -04:00
..
health.go submatview: only return materializer from getEntry 2021-04-27 19:03:17 -04:00
health_test.go rpcclient/health: move all backend routing logic to client 2021-04-27 19:03:16 -04:00
streaming_test.go rpcclient/health: convert tests to the new submatview.Store interface 2021-04-27 19:03:17 -04:00
view.go rpcclient: close the grpc.ClientConn on shutdown 2021-04-27 19:03:16 -04:00
view_test.go rpcclient/health: convert tests to the new submatview.Store interface 2021-04-27 19:03:17 -04:00