diff --git a/graph/graph.go b/graph/graph.go index f71b8a003e..4349cac129 100644 --- a/graph/graph.go +++ b/graph/graph.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/dotcloud/docker/archive" "github.com/dotcloud/docker/dockerversion" - "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/image" "github.com/dotcloud/docker/runconfig" + "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/utils" "io" "io/ioutil" diff --git a/graph/tags_unit_test.go b/graph/tags_unit_test.go index cae5c2916e..17773912cf 100644 --- a/graph/tags_unit_test.go +++ b/graph/tags_unit_test.go @@ -2,9 +2,9 @@ package graph import ( "bytes" + "github.com/dotcloud/docker/image" "github.com/dotcloud/docker/runtime/graphdriver" _ "github.com/dotcloud/docker/runtime/graphdriver/vfs" // import the vfs driver so it is used in the tests - "github.com/dotcloud/docker/image" "github.com/dotcloud/docker/utils" "github.com/dotcloud/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar" "io" diff --git a/image/image.go b/image/image.go index b2ddb03b0b..33503bad5a 100644 --- a/image/image.go +++ b/image/image.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" "github.com/dotcloud/docker/archive" - "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/runconfig" + "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/utils" "io/ioutil" "os" diff --git a/integration/graph_test.go b/integration/graph_test.go index ea9ddc7ae9..5602b3938d 100644 --- a/integration/graph_test.go +++ b/integration/graph_test.go @@ -5,8 +5,8 @@ import ( "github.com/dotcloud/docker/archive" "github.com/dotcloud/docker/dockerversion" "github.com/dotcloud/docker/graph" - "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/image" + "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/utils" "io" "io/ioutil" diff --git a/runtime/container.go b/runtime/container.go index 3c7aa22751..9b138c89c1 100644 --- a/runtime/container.go +++ b/runtime/container.go @@ -6,12 +6,12 @@ import ( "fmt" "github.com/dotcloud/docker/archive" "github.com/dotcloud/docker/engine" - "github.com/dotcloud/docker/runtime/execdriver" - "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/image" "github.com/dotcloud/docker/links" "github.com/dotcloud/docker/nat" "github.com/dotcloud/docker/runconfig" + "github.com/dotcloud/docker/runtime/execdriver" + "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/utils" "io" "io/ioutil" diff --git a/runtime/execdriver/execdrivers/execdrivers.go b/runtime/execdriver/execdrivers/execdrivers.go index 29fa5b44f9..9e277c86df 100644 --- a/runtime/execdriver/execdrivers/execdrivers.go +++ b/runtime/execdriver/execdrivers/execdrivers.go @@ -2,10 +2,10 @@ package execdrivers import ( "fmt" + "github.com/dotcloud/docker/pkg/sysinfo" "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/runtime/execdriver/lxc" "github.com/dotcloud/docker/runtime/execdriver/native" - "github.com/dotcloud/docker/pkg/sysinfo" "path" ) diff --git a/runtime/execdriver/lxc/driver.go b/runtime/execdriver/lxc/driver.go index fa2ecf9d77..b7311cc1ff 100644 --- a/runtime/execdriver/lxc/driver.go +++ b/runtime/execdriver/lxc/driver.go @@ -2,8 +2,8 @@ package lxc import ( "fmt" - "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/pkg/cgroups" + "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/utils" "io/ioutil" "log" diff --git a/runtime/execdriver/lxc/init.go b/runtime/execdriver/lxc/init.go index 946c8c930f..a64bca15b2 100644 --- a/runtime/execdriver/lxc/init.go +++ b/runtime/execdriver/lxc/init.go @@ -3,9 +3,9 @@ package lxc import ( "encoding/json" "fmt" - "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/pkg/netlink" "github.com/dotcloud/docker/pkg/user" + "github.com/dotcloud/docker/runtime/execdriver" "github.com/syndtr/gocapability/capability" "io/ioutil" "net" diff --git a/runtime/execdriver/native/default_template.go b/runtime/execdriver/native/default_template.go index 0c382059e9..e76be6ebec 100644 --- a/runtime/execdriver/native/default_template.go +++ b/runtime/execdriver/native/default_template.go @@ -2,9 +2,9 @@ package native import ( "fmt" - "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/pkg/cgroups" "github.com/dotcloud/docker/pkg/libcontainer" + "github.com/dotcloud/docker/runtime/execdriver" "os" ) diff --git a/runtime/execdriver/native/driver.go b/runtime/execdriver/native/driver.go index ff6c541cf9..bf7e8ccdec 100644 --- a/runtime/execdriver/native/driver.go +++ b/runtime/execdriver/native/driver.go @@ -3,12 +3,12 @@ package native import ( "encoding/json" "fmt" - "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/pkg/cgroups" "github.com/dotcloud/docker/pkg/libcontainer" "github.com/dotcloud/docker/pkg/libcontainer/apparmor" "github.com/dotcloud/docker/pkg/libcontainer/nsinit" "github.com/dotcloud/docker/pkg/system" + "github.com/dotcloud/docker/runtime/execdriver" "io" "io/ioutil" "log" diff --git a/runtime/graphdriver/aufs/aufs.go b/runtime/graphdriver/aufs/aufs.go index 83a6579bc6..6f05ddd025 100644 --- a/runtime/graphdriver/aufs/aufs.go +++ b/runtime/graphdriver/aufs/aufs.go @@ -24,8 +24,8 @@ import ( "bufio" "fmt" "github.com/dotcloud/docker/archive" - "github.com/dotcloud/docker/runtime/graphdriver" mountpk "github.com/dotcloud/docker/pkg/mount" + "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/utils" "os" "os/exec" diff --git a/runtime/networkdriver/ipallocator/allocator.go b/runtime/networkdriver/ipallocator/allocator.go index 2950e37003..70a7028bbe 100644 --- a/runtime/networkdriver/ipallocator/allocator.go +++ b/runtime/networkdriver/ipallocator/allocator.go @@ -3,8 +3,8 @@ package ipallocator import ( "encoding/binary" "errors" - "github.com/dotcloud/docker/runtime/networkdriver" "github.com/dotcloud/docker/pkg/collections" + "github.com/dotcloud/docker/runtime/networkdriver" "net" "sync" ) diff --git a/runtime/networkdriver/lxc/driver.go b/runtime/networkdriver/lxc/driver.go index 746bcfb5b0..827de2a609 100644 --- a/runtime/networkdriver/lxc/driver.go +++ b/runtime/networkdriver/lxc/driver.go @@ -3,12 +3,12 @@ package lxc import ( "fmt" "github.com/dotcloud/docker/engine" + "github.com/dotcloud/docker/pkg/iptables" + "github.com/dotcloud/docker/pkg/netlink" "github.com/dotcloud/docker/runtime/networkdriver" "github.com/dotcloud/docker/runtime/networkdriver/ipallocator" "github.com/dotcloud/docker/runtime/networkdriver/portallocator" "github.com/dotcloud/docker/runtime/networkdriver/portmapper" - "github.com/dotcloud/docker/pkg/iptables" - "github.com/dotcloud/docker/pkg/netlink" "github.com/dotcloud/docker/utils" "io/ioutil" "log" diff --git a/runtime/runtime.go b/runtime/runtime.go index 25edd774d8..677d52acc5 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -7,21 +7,21 @@ import ( "github.com/dotcloud/docker/daemonconfig" "github.com/dotcloud/docker/dockerversion" "github.com/dotcloud/docker/engine" + "github.com/dotcloud/docker/graph" + "github.com/dotcloud/docker/image" + "github.com/dotcloud/docker/pkg/graphdb" + "github.com/dotcloud/docker/pkg/sysinfo" + "github.com/dotcloud/docker/runconfig" "github.com/dotcloud/docker/runtime/execdriver" "github.com/dotcloud/docker/runtime/execdriver/execdrivers" "github.com/dotcloud/docker/runtime/execdriver/lxc" - "github.com/dotcloud/docker/graph" "github.com/dotcloud/docker/runtime/graphdriver" "github.com/dotcloud/docker/runtime/graphdriver/aufs" _ "github.com/dotcloud/docker/runtime/graphdriver/btrfs" _ "github.com/dotcloud/docker/runtime/graphdriver/devmapper" _ "github.com/dotcloud/docker/runtime/graphdriver/vfs" - "github.com/dotcloud/docker/image" _ "github.com/dotcloud/docker/runtime/networkdriver/lxc" "github.com/dotcloud/docker/runtime/networkdriver/portallocator" - "github.com/dotcloud/docker/pkg/graphdb" - "github.com/dotcloud/docker/pkg/sysinfo" - "github.com/dotcloud/docker/runconfig" "github.com/dotcloud/docker/utils" "io" "io/ioutil"