Signed-off-by: Darren Stahl <darst@microsoft.com>
Darren Stahl authored on 2017/04/27 07:54:08... | ... |
@@ -78,7 +78,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) { |
78 | 78 |
s.Root.Readonly = false // Windows does not support a read-only root filesystem |
79 | 79 |
|
80 | 80 |
// In s.Windows.Resources |
81 |
- // @darrenstahlmsft implement these resources |
|
82 | 81 |
cpuShares := uint16(c.HostConfig.CPUShares) |
83 | 82 |
cpuPercent := uint8(c.HostConfig.CPUPercent) |
84 | 83 |
cpuCount := uint64(c.HostConfig.CPUCount) |
... | ... |
@@ -103,10 +102,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) { |
103 | 103 |
}, |
104 | 104 |
Memory: &specs.WindowsMemoryResources{ |
105 | 105 |
Limit: &memoryLimit, |
106 |
- //TODO Reservation: ..., |
|
107 |
- }, |
|
108 |
- Network: &specs.WindowsNetworkResources{ |
|
109 |
- //TODO Bandwidth: ..., |
|
110 | 106 |
}, |
111 | 107 |
Storage: &specs.WindowsStorageResources{ |
112 | 108 |
Bps: &c.HostConfig.IOMaximumBandwidth, |