Commit 505a62c
committed
fix(bootstrap): map stand hypervisor 'driver' key to polymorphic driver_spec 'kind'
apply_startup_db seeded MachinePool.driver_spec from the stand's hypervisor
dict which uses a 'driver' key, but driver_spec is now a KindModelSelectorType
selected by 'kind' (LibvirtPoolDriverSpec.KIND). restore_from_simple_view
raised UnknownType, crashing the one-shot bootstrap. Translate driver->kind.
Latent since the machine-pool driver_spec became polymorphic; surfaced on the
first fresh core built from this branch.1 parent dd7e95c commit 505a62c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
396 | 403 | | |
397 | 404 | | |
398 | 405 | | |
399 | | - | |
| 406 | + | |
400 | 407 | | |
401 | 408 | | |
402 | 409 | | |
| |||
0 commit comments