From a8496645196e364425ac4635c46abada21ff4c35 Mon Sep 17 00:00:00 2001 From: John Howard Date: Thu, 21 Mar 2019 18:50:01 -0700 Subject: [PATCH] Windows:ProgramFiles to ProgramData Signed-off-by: John Howard --- defaults/defaults_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/defaults_windows.go b/defaults/defaults_windows.go index 983bf762f..16f1048ca 100644 --- a/defaults/defaults_windows.go +++ b/defaults/defaults_windows.go @@ -26,10 +26,10 @@ import ( var ( // DefaultRootDir is the default location used by containerd to store // persistent data - DefaultRootDir = filepath.Join(os.Getenv("programfiles"), "containerd", "root") + DefaultRootDir = filepath.Join(os.Getenv("ProgramData"), "containerd", "root") // DefaultStateDir is the default location used by containerd to store // transient data - DefaultStateDir = filepath.Join(os.Getenv("programfiles"), "containerd", "state") + DefaultStateDir = filepath.Join(os.Getenv("ProgramData"), "containerd", "state") ) const (