
This patch fixes couple of thing that is needed to run mypy
* fixed a wrong type hint in LibvirtDriver._add_vtpm_device,
_configure_guest_by_virt_type, and _conf_non_lxc signature
* fixed a local variable type hint in LibvirtDriver._create_guest_with_network
* added an assert to _create_guest_with_network as the guest local
variable can be None if we get eventlet.timeout.Timeout and
CONF.vif_plugging_is_fatal is False.
Change-Id: I42c579531bac61063a381598094720271364ec92
(cherry picked from commit c17f1e14cf
)
15 lines
364 B
Plaintext
15 lines
364 B
Plaintext
nova/compute/manager.py
|
|
nova/crypto.py
|
|
nova/privsep/path.py
|
|
nova/scheduler/request_filter.py
|
|
nova/scheduler/utils.py
|
|
nova/virt/driver.py
|
|
nova/virt/hardware.py
|
|
nova/virt/libvirt/machine_type_utils.py
|
|
nova/virt/libvirt/__init__.py
|
|
nova/virt/libvirt/driver.py
|
|
nova/virt/libvirt/event.py
|
|
nova/virt/libvirt/guest.py
|
|
nova/virt/libvirt/host.py
|
|
nova/virt/libvirt/utils.py
|