mirror of https://github.com/linkerd/linkerd2.git
Fixes #12686 When an endpoint in an EndpointSlice resource does not contain a hostname field, the destination controller can panic while looking for an endpoint with a certain hostname. This happens when doing a lookup with a pod dns name. We add a nil check to avoid the panic. We add such an endpoint to our test fixture to exercise this case. Signed-off-by: Alex Leong <alex@buoyant.io> |
||
|---|---|---|
| .. | ||
| destination | ||
| util | ||