fix: cpu flag becomes cpus for the docker-scheduler

This commit is contained in:
Jose Diaz-Gonzalez committed 2019-05-17 11:59:15 -04:00
1 parent ceac86b58f
commit 2aac9c71fc
1 file changed
+4
@@ -50,6 +50,10 @@ func main() {
continue continue
} }
if parts[1] == "cpu" {
parts[1] = "cpus"
}
limits[parts[1]] = value limits[parts[1]] = value
} }
if parts[0] == "reserve" { if parts[0] == "reserve" {