Skip to content

Commit 971c91d

Browse files
committed
review with Raffo
1 parent 9597d25 commit 971c91d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/ambassador_host.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func (sc *ambassadorHostSource) Endpoints(ctx context.Context) ([]*endpoint.Endp
142142
}
143143
}
144144

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

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

0 commit comments

Comments
 (0)