Skip to content

Commit 336fad1

Browse files
committed
improve logging
Signed-off-by: Zen <[email protected]>
1 parent 0f4c954 commit 336fad1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ugrd"
7-
version = "1.9.0"
7+
version = "1.9.1"
88
authors = [
99
{ name="Desultory", email="[email protected]" },
1010
]

src/ugrd/fs/mounts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '3.3.3'
2+
__version__ = '3.3.4'
33

44
from pathlib import Path
55
from zenlib.util import check_dict, pretty_print
@@ -322,7 +322,7 @@ def autodetect_root_lvm(self, mount_loc, mapped_name, lvm_mount) -> None:
322322
def autodetect_root_luks(self, mount_loc, mapped_name, luks_mount) -> None:
323323
""" Autodetects LUKS mounts and sets the cryptsetup config. """
324324
if 'ugrd.crypto.cryptsetup' not in self['modules']:
325-
self.logger.info("Autodetected LUKS mount, enabling the cryptsetup module: %s" % luks_mount['name'])
325+
self.logger.info("Autodetected LUKS mount, enabling the cryptsetup module: %s" % mount_loc.name)
326326
self['modules'] = 'ugrd.crypto.cryptsetup'
327327

328328
if 'cryptsetup' in self and any(mount_type in self['cryptsetup'].get(self._dm_info[mapped_name]['name'], []) for mount_type in SOURCE_TYPES):

0 commit comments

Comments
 (0)