mirror of https://github.com/linkerd/linkerd2.git
The StatSummary endpoint was dereferencing StatSummaryRequest.Selector.Resource, causing a panic when it received an empty request. Fix StatSummary to use the nil-friendly StatSummaryRequest.GetSelector().GetResource() methods, and add a test to validate. Signed-off-by: Andrew Seigner <siggy@buoyant.io> |
||
---|---|---|
.. | ||
client.go | ||
client_test.go | ||
grpc_server.go | ||
grpc_server_test.go | ||
http_server.go | ||
http_server_test.go | ||
proto_over_http.go | ||
proto_over_http_test.go | ||
stat_summary.go | ||
stat_summary_test.go | ||
test_helper.go |