Skip to content

Commit

Permalink
Remove unclear comment for makeSpoofClient() (#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Nov 11, 2021
1 parent cd0d505 commit 0b0c339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func WaitForEndpointStateWithTimeout(
timeout time.Duration,
opts ...interface{}) (*spoof.Response, error) {

client, rOpts, err := makeSpoofClient(ctx, kubeClient, logf, url, resolvable, timeout /* true, */, opts...)
client, rOpts, err := makeSpoofClient(ctx, kubeClient, logf, url, resolvable, timeout, opts...)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -152,7 +152,7 @@ func CheckEndpointState(
resolvable bool,
opts ...interface{},
) (*spoof.Response, error) {
client, rOpts, err := makeSpoofClient(ctx, kubeClient, logf, url, resolvable, Flags.SpoofRequestTimeout /* false, */, opts...)
client, rOpts, err := makeSpoofClient(ctx, kubeClient, logf, url, resolvable, Flags.SpoofRequestTimeout, opts...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0b0c339

Please sign in to comment.