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.
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/ 8615de1bb7afac8 ffbd7d9c8f8e723 5c49df9b39/ nova/compute/ manager. py#L5295- L5297 /github. com/openstack/ nova/blob/ 8615de1bb7afac8 ffbd7d9c8f8e723 5c49df9b39/ nova/virt/ libvirt/ driver. py#L1115- L1116
https:/
For other cases, it won't be a Tautology.