mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Fix parameter passing error
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
This commit is contained in:
parent
9e84a02950
commit
003e4886c6
@ -117,7 +117,7 @@ func (f *fakeService) Run(ctx context.Context) error {
|
||||
}
|
||||
|
||||
func (f *fakeService) WaitForReady(ctx context.Context) error {
|
||||
err := wait.PollWithContext(ctx, 1*time.Second, 200*time.Millisecond, func(ctx context.Context) (done bool, err error) {
|
||||
err := wait.PollUntilContextTimeout(ctx, 200*time.Millisecond, time.Second, false, func(ctx context.Context) (done bool, err error) {
|
||||
return f.Port() != nil, nil
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user