Skip to content

Commit

Permalink
Removed break
Browse files Browse the repository at this point in the history
Signed-off-by: ajaychoudhary-hotstar <[email protected]>
  • Loading branch information
ajaychoudhary-hotstar committed Oct 29, 2024
1 parent 59c79e3 commit 34752cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/entrypoint/endpoint_routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func makeEndpoints(ctx context.Context, ksnap *snapshot.KubernetesSnapshot, cons
for _, k8sEndpointSlice := range ksnap.EndpointSlices {
svcKey := fmt.Sprintf("%s:%s", k8sEndpointSlice.Namespace, k8sEndpointSlice.Labels["kubernetes.io/service-name"])
svcEndpointSlices[svcKey] = append(svcEndpointSlices[svcKey], k8sEndpointSlice)
break
}
//Map each service to its corresponding endpoints from all its EndpointSlices
for svcKey, svc := range k8sServices {
Expand Down

0 comments on commit 34752cc

Please sign in to comment.