Skip to content

v0.27.33

Choose a tag to compare

@zalando-robot zalando-robot released this 16 Jul 17:30
e7d7014

Changes

Move nil EndpointSlice conditions in isReady (#4136)

Move nil EndpointSlice conditions handling into
EndpointSliceEndpoints.isReady().

EndpointSlice endpoints with missing conditions is already treated as
ready. So instead of having this check outside isReady moved it within.

This makes the isReady function handle all cases and avoids requiring
future callers to duplicate the nil-condition check.

Tests

go test ./dataclients/kubernetes -run TestEndpointSliceEndpointIsReady
go test ./dataclients/kubernetes

Suggested label: refactor or bugfix (actually not a bug)

Fixes #4137

Multiarch Docker image

Multiarch Docker image is available in GitHub's docker registry:

docker run -it ghcr.io/zalando/skipper:v0.27.33 skipper --help