mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #48953 from thaJeztah/carry_buildkit_init_timeout
Remove buildkit init timeout
This commit is contained in:
@@ -294,16 +294,13 @@ func (cli *daemonCLI) start(ctx context.Context) (err error) {
|
||||
|
||||
log.G(ctx).Info("Daemon has completed initialization")
|
||||
|
||||
routerCtx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
|
||||
// Get a the current daemon config, because the daemon sets up config
|
||||
// during initialization. We cannot user the cli.Config for that reason,
|
||||
// as that only holds the config that was set by the user.
|
||||
//
|
||||
// FIXME(thaJeztah): better separate runtime and config data?
|
||||
daemonCfg := d.Config()
|
||||
routerOpts, err := newRouterOptions(routerCtx, &daemonCfg, d, c)
|
||||
routerOpts, err := newRouterOptions(ctx, &daemonCfg, d, c)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user