Merge "LVM: Fix bare raise on LVM command error"

This commit is contained in:
Zuul 2023-03-23 16:34:16 +00:00 committed by Gerrit Code Review
commit 28ffcdbfa1
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ class LVM(executor.Executor):
message='Cannot parse LVM version')
version_tuple = tuple(map(int, r.group(1, 2, 3)))
return version_tuple
raise
raise exception.BrickException(message='Cannot parse LVM version')
@staticmethod
def supports_thin_provisioning(root_helper: str) -> bool: