Skip to content

Commit

Permalink
review with Raffo
Browse files Browse the repository at this point in the history
  • Loading branch information
mloiseleur committed May 16, 2024
1 parent 9597d25 commit 971c91d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/ambassador_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (sc *ambassadorHostSource) Endpoints(ctx context.Context) ([]*endpoint.Endp
}
}

hostEndpoints, err := sc.endpointsFromHost(ctx, host, targets)
hostEndpoints, err := sc.endpointsFromHost(host, targets)
if err != nil {
log.Warningf("Could not get endpoints for Host %s", err)
continue
Expand All @@ -164,7 +164,7 @@ func (sc *ambassadorHostSource) Endpoints(ctx context.Context) ([]*endpoint.Endp
}

// endpointsFromHost extracts the endpoints from a Host object
func (sc *ambassadorHostSource) endpointsFromHost(_ context.Context, host *ambassador.Host, targets endpoint.Targets) ([]*endpoint.Endpoint, error) {
func (sc *ambassadorHostSource) endpointsFromHost(host *ambassador.Host, targets endpoint.Targets) ([]*endpoint.Endpoint, error) {
var endpoints []*endpoint.Endpoint
annotations := host.Annotations

Expand Down

0 comments on commit 971c91d

Please sign in to comment.