34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
|
From 52019b19caaf383daa5f2f0437e0c9e262adb45e Mon Sep 17 00:00:00 2001
|
||
|
From: Vojtech Trefny <vtrefny@redhat.com>
|
||
|
Date: Mon, 13 Dec 2021 14:18:12 +0100
|
||
|
Subject: [PATCH] Fix log message for the LVM devices filter
|
||
|
|
||
|
---
|
||
|
blivet/devicelibs/lvm.py | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/blivet/devicelibs/lvm.py b/blivet/devicelibs/lvm.py
|
||
|
index 3ab1540b..bbde6303 100644
|
||
|
--- a/blivet/devicelibs/lvm.py
|
||
|
+++ b/blivet/devicelibs/lvm.py
|
||
|
@@ -133,14 +133,14 @@ def needs_config_refresh(fn):
|
||
|
@needs_config_refresh
|
||
|
def lvm_devices_add(path):
|
||
|
""" Add a device (PV) to the list of devices LVM is allowed to use """
|
||
|
- log.debug("lvm filter: device %s added to the list of allowed devices")
|
||
|
+ log.debug("lvm filter: device %s added to the list of allowed devices", path)
|
||
|
_lvm_devices.add(path)
|
||
|
|
||
|
|
||
|
@needs_config_refresh
|
||
|
def lvm_devices_remove(path):
|
||
|
""" Remove a device (PV) to the list of devices LVM is allowed to use """
|
||
|
- log.debug("lvm filter: device %s removed from the list of allowed devices")
|
||
|
+ log.debug("lvm filter: device %s removed from the list of allowed devices", path)
|
||
|
try:
|
||
|
_lvm_devices.remove(path)
|
||
|
except KeyError:
|
||
|
--
|
||
|
2.34.1
|
||
|
|