mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-30 10:09:55 +00:00
This changes the crictl template for issues with the socket information. It also addresses a typo in the socket address. Last it makes tweaks to configuration that aren't required or had incorrect logic. Signed-off-by: Jamie Phillips <jamie.phillips@suse.com> spelling
15 lines
331 B
Go
15 lines
331 B
Go
// +build windows
|
|
|
|
package config
|
|
|
|
import (
|
|
"path/filepath"
|
|
|
|
"github.com/rancher/k3s/pkg/daemons/config"
|
|
)
|
|
|
|
func applyContainerdStateAndAddress(nodeConfig *config.Node) {
|
|
nodeConfig.Containerd.State = filepath.Join(nodeConfig.Containerd.Root, "state")
|
|
nodeConfig.Containerd.Address = "npipe:////./pipe/containerd-containerd"
|
|
}
|