Skip to content

Commit a849664

Browse files
author
John Howard
committed
Windows:ProgramFiles to ProgramData
Signed-off-by: John Howard <[email protected]>
1 parent 6034c19 commit a849664

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

defaults/defaults_windows.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import (
2626
var (
2727
// DefaultRootDir is the default location used by containerd to store
2828
// persistent data
29-
DefaultRootDir = filepath.Join(os.Getenv("programfiles"), "containerd", "root")
29+
DefaultRootDir = filepath.Join(os.Getenv("ProgramData"), "containerd", "root")
3030
// DefaultStateDir is the default location used by containerd to store
3131
// transient data
32-
DefaultStateDir = filepath.Join(os.Getenv("programfiles"), "containerd", "state")
32+
DefaultStateDir = filepath.Join(os.Getenv("ProgramData"), "containerd", "state")
3333
)
3434

3535
const (

0 commit comments

Comments
 (0)