Browse code

Merge pull request #32856 from darrenstahlmsft/RemoveResourceComments

Remove comments and unused structures in Windows resources

Sebastiaan van Stijn authored on 2017/05/15 22:28:51
Showing 1 changed files
... ...
@@ -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,