k3s/pkg/agent/cridockerd/nocridockerd.go
Brad Davidson 89f7062431 Add build tag to disable cri-dockerd
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-01-26 14:29:18 -08:00

16 lines
265 B
Go

//go:build no_cri_dockerd
// +build no_cri_dockerd
package cridockerd
import (
"context"
"errors"
"github.com/k3s-io/k3s/pkg/daemons/config"
)
func Run(ctx context.Context, cfg *config.Node) error {
return errors.New("cri-dockerd disabled at build time")
}