Merge pull request #78528 from bclau/credentialprovider/windows-homedir
credentialprovider: Sets homeDirPath to os.UserHomeDir()
This commit is contained in:
		@@ -60,7 +60,7 @@ var (
 | 
				
			|||||||
	preferredPathLock sync.Mutex
 | 
						preferredPathLock sync.Mutex
 | 
				
			||||||
	preferredPath     = ""
 | 
						preferredPath     = ""
 | 
				
			||||||
	workingDirPath    = ""
 | 
						workingDirPath    = ""
 | 
				
			||||||
	homeDirPath       = os.Getenv("HOME")
 | 
						homeDirPath, _    = os.UserHomeDir()
 | 
				
			||||||
	rootDirPath       = "/"
 | 
						rootDirPath       = "/"
 | 
				
			||||||
	homeJsonDirPath   = filepath.Join(homeDirPath, ".docker")
 | 
						homeJsonDirPath   = filepath.Join(homeDirPath, ".docker")
 | 
				
			||||||
	rootJsonDirPath   = filepath.Join(rootDirPath, ".docker")
 | 
						rootJsonDirPath   = filepath.Join(rootDirPath, ".docker")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user