Skip to content

Commit

Permalink
ceph
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 23, 2024
1 parent 3303943 commit e0555f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libqmpbackup/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ def get_block_devices(blockinfo, argv, excluded_disks, included_disks, uuid):
try:
encoded_name = json.loads(filename[5:])
try:
driver = encoded_name["file"]["image"]["driver"]
driver = encoded_name["file"][0]["image"]["driver"]
if driver == "rbd":
log.info("Ceph device found, using image name")
filename = encoded_name["file"]["image"]
filename = encoded_name["file"][0]["image"]
except KeyError:
pass
else:
Expand Down

0 comments on commit e0555f4

Please sign in to comment.