mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
using no concrrent create container with nerdctl
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
This commit is contained in:
@@ -107,7 +107,12 @@ func (p *provider) Provision(status *cli.Status, cfg *config.Cluster) (err error
|
||||
}
|
||||
|
||||
// actually create nodes
|
||||
return errors.UntilErrorConcurrent(createContainerFuncs)
|
||||
for _, f := range createContainerFuncs {
|
||||
if err := f(); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ListClusters is part of the providers.Provider interface
|
||||
|
||||
Reference in New Issue
Block a user