Skip to content

Commit 7fa6325

Browse files
committed
Pool: add ratios to meta fields
1 parent 9a5ed0d commit 7fa6325

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"python.testing.unittestEnabled": false,
33
"python.testing.pytestEnabled": true,
44
"python.envFile": "${workspaceFolder}/.vscode/tests.env",
5-
"debugpy.debugJustMyCode": false
5+
"debugpy.debugJustMyCode": false,
6+
"python.languageServer": "None"
67
}

genesis_core/compute/agents/universal/drivers/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_meta_model_fields(self) -> tp.Optional[tp.Set[str]]:
104104
`None` means all fields are meta fields but it doesn't mean they
105105
won't be updated from the data plane.
106106
"""
107-
return {"uuid", "driver_spec", "machine_type"}
107+
return {"uuid", "driver_spec", "machine_type", "cores_ratio", "ram_ratio"}
108108

109109
def restore_from_dp(self, **kwargs) -> None:
110110
"""Load the pool information."""

0 commit comments

Comments
 (0)