소스 검색

Remove getBlkioWeightDevices in daemon_windows.go as it is not needed

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yong Tang 7 년 전
부모
커밋
0866dee5fd
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      daemon/daemon_windows.go

+ 0 - 5
daemon/daemon_windows.go

@@ -26,7 +26,6 @@ import (
 	winlibnetwork "github.com/docker/libnetwork/drivers/windows"
 	winlibnetwork "github.com/docker/libnetwork/drivers/windows"
 	"github.com/docker/libnetwork/netlabel"
 	"github.com/docker/libnetwork/netlabel"
 	"github.com/docker/libnetwork/options"
 	"github.com/docker/libnetwork/options"
-	specs "github.com/opencontainers/runtime-spec/specs-go"
 	"github.com/pkg/errors"
 	"github.com/pkg/errors"
 	"github.com/sirupsen/logrus"
 	"github.com/sirupsen/logrus"
 	"golang.org/x/sys/windows"
 	"golang.org/x/sys/windows"
@@ -47,10 +46,6 @@ func getPluginExecRoot(root string) string {
 	return filepath.Join(root, "plugins")
 	return filepath.Join(root, "plugins")
 }
 }
 
 
-func getBlkioWeightDevices(config containertypes.Resources) ([]specs.LinuxWeightDevice, error) {
-	return nil, nil
-}
-
 func (daemon *Daemon) parseSecurityOpt(container *container.Container, hostConfig *containertypes.HostConfig) error {
 func (daemon *Daemon) parseSecurityOpt(container *container.Container, hostConfig *containertypes.HostConfig) error {
 	return parseSecurityOpt(container, hostConfig)
 	return parseSecurityOpt(container, hostConfig)
 }
 }