Skip to content

Commit

Permalink
improve logging
Browse files Browse the repository at this point in the history
Signed-off-by: Zen <[email protected]>
  • Loading branch information
desultory committed Oct 1, 2024
1 parent 0385a22 commit bc3f28f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ugrd/fs/mounts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__author__ = 'desultory'
__version__ = '4.14.2'
__version__ = '4.14.3'

from pathlib import Path
from zenlib.util import contains, pretty_print
Expand Down Expand Up @@ -339,7 +339,7 @@ def _autodetect_dm(self, mountpoint) -> None:
if source_device.name != self._dm_info[dm_num]['name'] and source_device.name != dm_num:
raise ValueError("Device mapper device name mismatch: %s != %s" % (source_device.name, self._dm_info[dm_num]['name']))

self.logger.debug("[%s] Device mapper info: %s" % (source_device.name, self._dm_info[dm_num]))
self.logger.debug("[%s] Device mapper info: %s\nDevice config: %s" % (source_device.name, self._dm_info[dm_num], dm_info))
if dm_info.get('type') == 'crypto_LUKS' or source_device.name in self.get('cryptsetup', {}):
autodetect_luks(self, source_device, dm_num, dm_info)
elif dm_info.get('type') == 'LVM2_member':
Expand Down

0 comments on commit bc3f28f

Please sign in to comment.