From 7113d24c2743261d5e9b330dce4c64c6efc91f84 Mon Sep 17 00:00:00 2001 From: Darren Stahl Date: Wed, 26 Apr 2017 15:54:08 -0700 Subject: [PATCH] Remove comments and unused structures in Windows resources Signed-off-by: Darren Stahl Upstream-commit: 0e9b7df6263f0e675aa5e2de948133c2badafd6b Component: engine --- components/engine/daemon/oci_windows.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/engine/daemon/oci_windows.go b/components/engine/daemon/oci_windows.go index 85e2a9bc14..ebe3729197 100644 --- a/components/engine/daemon/oci_windows.go +++ b/components/engine/daemon/oci_windows.go @@ -78,7 +78,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) { s.Root.Readonly = false // Windows does not support a read-only root filesystem // In s.Windows.Resources - // @darrenstahlmsft implement these resources cpuShares := uint16(c.HostConfig.CPUShares) cpuPercent := uint8(c.HostConfig.CPUPercent) cpuCount := uint64(c.HostConfig.CPUCount) @@ -103,10 +102,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) { }, Memory: &specs.WindowsMemoryResources{ Limit: &memoryLimit, - //TODO Reservation: ..., - }, - Network: &specs.WindowsNetworkResources{ - //TODO Bandwidth: ..., }, Storage: &specs.WindowsStorageResources{ Bps: &c.HostConfig.IOMaximumBandwidth,