summaryrefslogtreecommitdiff
path: root/daemon/container_windows.go
diff options
context:
space:
mode:
authorJohn Howard <jhoward@microsoft.com>2015-10-05 10:11:10 -0700
committerJohn Howard <jhoward@microsoft.com>2015-10-26 13:48:16 -0700
commitb1220a763c5046efe8caa3e245c84633a29c3684 (patch)
tree6d95ebf6727374b4272de543dd114c15058c1c58 /daemon/container_windows.go
parente252fe288cda563e10f70f55f934f1e05ee06729 (diff)
downloaddocker-b1220a763c5046efe8caa3e245c84633a29c3684.tar.gz
Windows: Refactor resources structure
Signed-off-by: John Howard <jhoward@microsoft.com>
Diffstat (limited to 'daemon/container_windows.go')
-rw-r--r--daemon/container_windows.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/container_windows.go b/daemon/container_windows.go
index 178521087a..5d62a96d68 100644
--- a/daemon/container_windows.go
+++ b/daemon/container_windows.go
@@ -86,7 +86,9 @@ func populateCommand(c *Container, env []string) error {
// TODO Windows. More resource controls to be implemented later.
resources := &execdriver.Resources{
- CPUShares: c.hostConfig.CPUShares,
+ CommonResources: execdriver.CommonResources{
+ CPUShares: c.hostConfig.CPUShares,
+ },
}
// TODO Windows. Further refactoring required (privileged/user)