-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current check doesn't doesn't use measureVolume if the volume is a leaf, but there is no reason to do this if the disk is not attached to a running a VM. This patch checks if the disk is attached to a running VM before checking if the volume is a leaf to ensure it's measured correctly. Bug-Url: https://bugzilla.redhat.com/2104806 Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters