Skip to content

Commit 1975acd

Browse files
fix(compute): register the dummy pool driver under its own kind (#539)
The gcn_machine_pool_driver entry point was registered as "DummyPoolDriver" instead of "dummy", so it never matched DummyPoolDriverSpec.KIND and could never be loaded - unlike its "libvirt" sibling entry, which correctly used the driver spec's KIND as the entry point name.
1 parent 4a199ca commit 1975acd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ ec-bootstrap-templates = "exordos_core.cmd.bootstrap_templates:main"
161161
exordos-repo-proxy-gservice = "exordos_core.cmd.repo_proxy_gservice:main"
162162

163163
[project.entry-points."gcn_machine_pool_driver"]
164-
DummyPoolDriver = "exordos_core.compute.pool.drivers.base:DummyPoolDriver"
164+
dummy = "exordos_core.compute.pool.drivers.base:DummyPoolDriver"
165165
libvirt = "exordos_core.compute.pool.drivers.libvirt:LibvirtPoolDriver"
166166

167167
[project.entry-points."gcn_network_driver"]

0 commit comments

Comments
 (0)