Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
| ... | ... |
@@ -26,7 +26,6 @@ import ( |
| 26 | 26 |
winlibnetwork "github.com/docker/libnetwork/drivers/windows" |
| 27 | 27 |
"github.com/docker/libnetwork/netlabel" |
| 28 | 28 |
"github.com/docker/libnetwork/options" |
| 29 |
- specs "github.com/opencontainers/runtime-spec/specs-go" |
|
| 30 | 29 |
"github.com/pkg/errors" |
| 31 | 30 |
"github.com/sirupsen/logrus" |
| 32 | 31 |
"golang.org/x/sys/windows" |
| ... | ... |
@@ -47,10 +46,6 @@ func getPluginExecRoot(root string) string {
|
| 47 | 47 |
return filepath.Join(root, "plugins") |
| 48 | 48 |
} |
| 49 | 49 |
|
| 50 |
-func getBlkioWeightDevices(config containertypes.Resources) ([]specs.LinuxWeightDevice, error) {
|
|
| 51 |
- return nil, nil |
|
| 52 |
-} |
|
| 53 |
- |
|
| 54 | 50 |
func (daemon *Daemon) parseSecurityOpt(container *container.Container, hostConfig *containertypes.HostConfig) error {
|
| 55 | 51 |
return parseSecurityOpt(container, hostConfig) |
| 56 | 52 |
} |