diff --git a/cmd/worker/worker.go b/cmd/worker/worker.go index c5eaba4541c4..778f8a11f9e9 100644 --- a/cmd/worker/worker.go +++ b/cmd/worker/worker.go @@ -140,9 +140,9 @@ func (c *Command) Start(ctx context.Context) error { if c.CriSocket == "" { componentManager.Add(ctx, containerd.NewComponent(c.LogLevels.Containerd, c.K0sVars, workerConfig)) + componentManager.Add(ctx, worker.NewOCIBundleReconciler(c.K0sVars)) } - componentManager.Add(ctx, worker.NewOCIBundleReconciler(c.K0sVars)) if c.WorkerProfile == "default" && runtime.GOOS == "windows" { c.WorkerProfile = "default-windows" }