mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
a62d143936
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"
|
|
}
|