Move blkiodev package to types.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2015-12-18 12:44:39 -05:00
parent ad7fa01102
commit 0aab83d996
6 changed files with 6 additions and 8 deletions

View file

@ -1,8 +1,6 @@
package blkiodev
import (
"fmt"
)
import "fmt"
// WeightDevice is a structure that hold device:weight pair
type WeightDevice struct {

2
daemon/daemon_unix.go Executable file → Normal file
View file

@ -12,12 +12,12 @@ import (
"syscall"
"github.com/Sirupsen/logrus"
pblkiodev "github.com/docker/docker/api/types/blkiodev"
"github.com/docker/docker/container"
"github.com/docker/docker/daemon/graphdriver"
derr "github.com/docker/docker/errors"
"github.com/docker/docker/image"
"github.com/docker/docker/layer"
pblkiodev "github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/parsers/kernel"
"github.com/docker/docker/pkg/sysinfo"

View file

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/api/types/blkiodev"
"github.com/docker/go-units"
)

View file

@ -3,7 +3,7 @@ package opts
import (
"fmt"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/api/types/blkiodev"
)
// ThrottledeviceOpt defines a map of ThrottleDevices

View file

@ -3,7 +3,7 @@ package opts
import (
"fmt"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/api/types/blkiodev"
)
// WeightdeviceOpt defines a map of WeightDevices

View file

@ -5,8 +5,8 @@ import (
"io"
"strings"
"github.com/docker/docker/api/types/blkiodev"
"github.com/docker/docker/api/types/strslice"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/pkg/nat"
"github.com/docker/docker/pkg/ulimit"
)