Skip to content

Commit

Permalink
Merge pull request #4941 from ricardomaraschini/disable-oci-loader-fo…
Browse files Browse the repository at this point in the history
…r-byocri

bug: disable oci bundle loader on byocri
  • Loading branch information
twz123 authored Sep 5, 2024
2 parents 9c1c02b + a203f26 commit 570a556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 570a556

Please sign in to comment.