mirror of https://github.com/knative/pkg.git
Remove unclear comment for makeSpoofClient() (#2347)
This commit is contained in:
parent
cd0d505c46
commit
0b0c3390a4
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue