fix: cpu flag becomes cpus for the docker-scheduler

This commit is contained in:
Jose Diaz-Gonzalez
2019-05-17 11:59:15 -04:00
parent ceac86b58f
commit 2aac9c71fc

View File

@@ -50,6 +50,10 @@ func main() {
continue
}
if parts[1] == "cpu" {
parts[1] = "cpus"
}
limits[parts[1]] = value
}
if parts[0] == "reserve" {