Browse Source

Merge pull request #13965 from cpuguy83/fix_windows_vfs_import

Fix circular import for windows vfs graphdriver
Tibor Vass 10 years ago
parent
commit
de6e6d4b28
3 changed files with 1 additions and 7 deletions
  1. 1 0
      daemon/daemon.go
  2. 0 1
      daemon/daemon_unix.go
  3. 0 6
      daemon/graphdriver/driver_windows.go

+ 1 - 0
daemon/daemon.go

@@ -19,6 +19,7 @@ import (
 	"github.com/docker/docker/daemon/execdriver"
 	"github.com/docker/docker/daemon/execdriver/execdrivers"
 	"github.com/docker/docker/daemon/graphdriver"
+	_ "github.com/docker/docker/daemon/graphdriver/vfs"
 	"github.com/docker/docker/daemon/logger"
 	"github.com/docker/docker/daemon/network"
 	"github.com/docker/docker/graph"

+ 0 - 1
daemon/daemon_unix.go

@@ -13,7 +13,6 @@ import (
 	"github.com/Sirupsen/logrus"
 	"github.com/docker/docker/autogen/dockerversion"
 	"github.com/docker/docker/daemon/graphdriver"
-	_ "github.com/docker/docker/daemon/graphdriver/vfs"
 	"github.com/docker/docker/graph"
 	"github.com/docker/docker/pkg/archive"
 	"github.com/docker/docker/pkg/fileutils"

+ 0 - 6
daemon/graphdriver/driver_windows.go

@@ -1,11 +1,5 @@
 package graphdriver
 
-import (
-	_ "github.com/docker/docker/daemon/graphdriver/vfs"
-
-	// TODO Windows - Add references to real graph driver when PR'd
-)
-
 type DiffDiskDriver interface {
 	Driver
 	CopyDiff(id, sourceId string) error