mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Remove weight and hard/soft fields from constraint
This commit is contained in:
@@ -54,11 +54,9 @@ be specified using the `?region=` query parameter.
|
||||
],
|
||||
"Constraints": [
|
||||
{
|
||||
"Hard": false,
|
||||
"LTarget": "kernel.os",
|
||||
"RTarget": "windows",
|
||||
"Operand": "=",
|
||||
"Weight": 0
|
||||
}
|
||||
],
|
||||
"TaskGroups": [
|
||||
@@ -67,11 +65,9 @@ be specified using the `?region=` query parameter.
|
||||
"Count": 5,
|
||||
"Constraints": [
|
||||
{
|
||||
"Hard": false,
|
||||
"LTarget": "kernel.os",
|
||||
"RTarget": "linux",
|
||||
"Operand": "=",
|
||||
"Weight": 0
|
||||
}
|
||||
],
|
||||
"Tasks": [
|
||||
@@ -108,11 +104,9 @@ be specified using the `?region=` query parameter.
|
||||
},
|
||||
"Constraints": [
|
||||
{
|
||||
"Hard": false,
|
||||
"LTarget": "kernel.arch",
|
||||
"RTarget": "amd64",
|
||||
"Operand": "=",
|
||||
"Weight": 0
|
||||
}
|
||||
],
|
||||
"Resources": {
|
||||
|
||||
@@ -47,11 +47,9 @@ region is used; another region can be specified using the `?region=` query param
|
||||
],
|
||||
"Constraints": [
|
||||
{
|
||||
"Hard": true,
|
||||
"LTarget": "kernel.os",
|
||||
"RTarget": "windows",
|
||||
"Operand": "=",
|
||||
"Weight": 0
|
||||
}
|
||||
],
|
||||
"TaskGroups": [
|
||||
@@ -60,11 +58,9 @@ region is used; another region can be specified using the `?region=` query param
|
||||
"Count": 5,
|
||||
"Constraints": [
|
||||
{
|
||||
"Hard": true,
|
||||
"LTarget": "kernel.os",
|
||||
"RTarget": "linux",
|
||||
"Operand": "=",
|
||||
"Weight": 0
|
||||
}
|
||||
],
|
||||
"Tasks": [
|
||||
@@ -101,11 +97,9 @@ region is used; another region can be specified using the `?region=` query param
|
||||
},
|
||||
"Constraints": [
|
||||
{
|
||||
"Hard": true,
|
||||
"LTarget": "kernel.arch",
|
||||
"RTarget": "amd64",
|
||||
"Operand": "=",
|
||||
"Weight": 0
|
||||
}
|
||||
],
|
||||
"Resources": {
|
||||
|
||||
Reference in New Issue
Block a user