1
0
mirror of https://github.com/moby/moby.git synced 2025-08-01 05:47:11 +03:00

Add TODO lines for windows

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan
2015-01-22 10:29:15 -08:00
parent 007ef161b4
commit a34a7930b5
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ func getHomeDir() string {
} }
func getDaemonConfDir() string { func getDaemonConfDir() string {
// TODO: update for Windows daemon
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
return filepath.Join(os.Getenv("USERPROFILE"), ".docker") return filepath.Join(os.Getenv("USERPROFILE"), ".docker")
} }

View File

@ -354,6 +354,7 @@ func TestDaemonVolumesBindsRefs(t *testing.T) {
} }
func TestDaemonKeyGeneration(t *testing.T) { func TestDaemonKeyGeneration(t *testing.T) {
// TODO: skip or update for Windows daemon
os.Remove("/etc/docker/key.json") os.Remove("/etc/docker/key.json")
d := NewDaemon(t) d := NewDaemon(t)
if err := d.Start(); err != nil { if err := d.Start(); err != nil {