Remove comments and unused structures in Windows resources
| ... | ... |
@@ -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) |
| ... | ... |
@@ -108,10 +107,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) {
|
| 108 | 108 |
}, |
| 109 | 109 |
Memory: &specs.WindowsMemoryResources{
|
| 110 | 110 |
Limit: &memoryLimit, |
| 111 |
- //TODO Reservation: ..., |
|
| 112 |
- }, |
|
| 113 |
- Network: &specs.WindowsNetworkResources{
|
|
| 114 |
- //TODO Bandwidth: ..., |
|
| 115 | 111 |
}, |
| 116 | 112 |
Storage: &specs.WindowsStorageResources{
|
| 117 | 113 |
Bps: &c.HostConfig.IOMaximumBandwidth, |