Refactor documentation structure and improve validation checks; update VM state handling and error management.
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ class VmRecord:
|
||||
name=str(value["name"]) if value.get("name") is not None else None,
|
||||
ports=ports,
|
||||
disk_ready=value.get("disk_ready", legacy_ready),
|
||||
runtime_owned=value.get("runtime_owned", bool(value.get("disk"))),
|
||||
runtime_owned=value.get("runtime_owned", True),
|
||||
tap_owned=value.get("tap_owned", bool(value.get("pid"))),
|
||||
operation=str(value["operation"]) if value.get("operation") is not None else None,
|
||||
boot_id=str(value["boot_id"]) if value.get("boot_id") is not None else None,
|
||||
|
||||
Reference in New Issue
Block a user