-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd_volume_activate: fix osd_volume_lvm function
90511a4 introduced a bug in osd_volume_lvm function. OSDs couldn't start because `$CEPH_VOLUME_LIST_JSON` is seen as an empty variable when consumed in this function. Since there's no need to have a separate function for detecting the volume type, let's refact this part of the code so we can fix this issue. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit bbf493d)
- Loading branch information
Showing
1 changed file
with
11 additions
and
13 deletions.
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