fix: cpu flag becomes cpus for the docker-scheduler
This commit is contained in:
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" {
|
||||||
|
|||||||
Reference in new issue
Block a user