Project

General

Profile

Actions

Bug #41649

closed

api/lvm: check if list of LVs is empty

Added by Rishabh Dave over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The following code in api/lvm.py doesn't check if list is empty -

     lvs = lvs if lvs is not None else Volumes()


Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #42540: nautilus: api/lvm: check if list of LVs is emptyResolvedJan FajerskiActions
Copied to ceph-volume - Backport #42541: mimic: api/lvm: check if list of LVs is emptyResolvedJan FajerskiActions
Actions

Also available in: Atom PDF