Skip to content

Commit

Permalink
ceph-volume lvm.trigger just split the osd_id once
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Deza <adeza@redhat.com>
  • Loading branch information
Alfredo Deza committed Sep 11, 2017
1 parent 5392697 commit ecd5af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ceph-volume/ceph_volume/devices/lvm/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def parse_osd_id(string):
def parse_osd_uuid(string):
osd_id = '%s-' % parse_osd_id(string)
# remove the id first
osd_uuid = string.split(osd_id)[-1]
osd_uuid = string.split(osd_id, 1)[-1]
if not osd_uuid:
raise SuffixParsingError('OSD uuid', string)
return osd_uuid
Expand Down

0 comments on commit ecd5af8

Please sign in to comment.