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