Skip to content

Commit

Permalink
raise if no rbd device
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 29, 2024
1 parent e5d3eca commit 707cb75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libqmpbackup/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def get_block_devices(blockinfo, argv, excluded_disks, included_disks, uuid):
log.info("Ceph device found, using image name")
filename = encoded_name["file"]["image"]
log.debug("RBD image name: [%s]", filename)
else:
raise KeyError
except KeyError:
log.debug("Non RBD Device detected, use filename setting.")
try:
Expand Down

0 comments on commit 707cb75

Please sign in to comment.