Skip to content

Commit 90d07d9

Browse files
committed
fixup
Signed-off-by: Bryce Palmer <[email protected]>
1 parent 5bcbdbb commit 90d07d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

openshift-kube-apiserver/openshiftkubeapiserver/sdn_readyz_wait.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func newOAuthAPIServiceReachabilityCheck(ipForKubernetesDefaultService net.IP) *
2626
return newAggregatedAPIServiceReachabilityCheck(ipForKubernetesDefaultService, "openshift-oauth-apiserver", "api")
2727
}
2828

29-
// if the API service is not found or the termination condition is met, then this check returns quickly.
29+
// if the API service is not found then this check returns quickly.
3030
// if the endpoint is not accessible within 60 seconds, we report ready no matter what
3131
// otherwise, wait for up to 60 seconds to be able to reach the apiserver
3232
func newAggregatedAPIServiceReachabilityCheck(ipForKubernetesDefaultService net.IP, namespace, service string) *aggregatedAPIServiceAvailabilityCheck {
@@ -75,7 +75,6 @@ func (c *aggregatedAPIServiceAvailabilityCheck) checkForConnection(context gener
7575
close(waitUntilCh) // this stops the endpoint check
7676
close(c.done) // once this method is done, the ready check should return true
7777
}()
78-
7978
start := time.Now()
8079

8180
kubeClient, err := kubernetes.NewForConfig(context.LoopbackClientConfig)

0 commit comments

Comments
 (0)