summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-05-24 13:34:53 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-30 00:43:38 -0400
commitccd90a976dbaf2acd1b62eb46f26bc35ae090467 (patch)
tree1fdbeb620e319d20f6106dd1fdc170592ae3225b
parent62b3e928de2818a03b2dd04868815c888ee28c24 (diff)
Fix CPUShares configuration option
This fixes the error message "Unknown or unsupported cgroup attribute CPUShares".
-rw-r--r--src/core/cgroup-semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup-semantics.c b/src/core/cgroup-semantics.c
index 82b02bbd78..7df9d014e9 100644
--- a/src/core/cgroup-semantics.c
+++ b/src/core/cgroup-semantics.c
@@ -255,7 +255,7 @@ static int map_blkio(const CGroupSemantics *s, const char *value, char **ret) {
}
static const CGroupSemantics semantics[] = {
- { "cpu", "cpu.shares", "CPUShare", false, parse_cpu_shares, NULL, NULL },
+ { "cpu", "cpu.shares", "CPUShares", false, parse_cpu_shares, NULL, NULL },
{ "memory", "memory.soft_limit_in_bytes", "MemorySoftLimit", false, parse_memory_limit, NULL, NULL },
{ "memory", "memory.limit_in_bytes", "MemoryLimit", false, parse_memory_limit, NULL, NULL },
{ "devices", "devices.allow", "DeviceAllow", true, parse_device, map_device, NULL },