浏览代码

Merge pull request #32856 from darrenstahlmsft/RemoveResourceComments

Remove comments and unused structures in Windows resources
Sebastiaan van Stijn 8 年之前
父节点
当前提交
6bffb585cd
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      daemon/oci_windows.go

+ 0 - 5
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)
@@ -108,10 +107,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,