Comment 1 for bug 1544103

Revision history for this message
Sana Khan (sanakhanlibre) wrote :

The expression 'if destroy_disks or is_shared_block_storage:'

will be a Tautology only when both the ifs are evaluated as true:

https://github.com/openstack/nova/blob/8615de1bb7afac8ffbd7d9c8f8e7235c49df9b39/nova/compute/manager.py#L5295-L5297
https://github.com/openstack/nova/blob/8615de1bb7afac8ffbd7d9c8f8e7235c49df9b39/nova/virt/libvirt/driver.py#L1115-L1116

For other cases, it won't be a Tautology.