main - lvmdbusd: Correct typos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=068073e924246ebda66b6dff590455d648007007 Commit: 068073e924246ebda66b6dff590455d648007007 Parent: abf22df46c53968e5b064b2a4feb7b57e08fac09 Author: Tony Asleson <[email protected]> AuthorDate: Wed Aug 17 12:06:17 2022 -0500 Committer: Tony Asleson <[email protected]> CommitterDate: Fri Sep 16 10:49:36 2022 -0500
lvmdbusd: Correct typos
--- daemons/lvmdbusd/objectmanager.py | 4 ++-- daemons/lvmdbusd/utils.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
daemons/lvmdbusd/objectmanager.py +2 -2
@@ -287,7 +287,7 @@ class ObjectManager(AutomatedProperties): register it with the object manager for the specified uuid & lvm_id. Note: If path create is not None, uuid and lvm_id cannot be equal :param uuid: The uuid for the lvm object we are searching for - :param lvm_id: The lvm name (eg. pv device path, vg name, lv full name) + :param lvm_id: The lvm name (e.g. pv device path, vg name, lv full name) :param path_create: If not None, create the path using this function if we fail to find the object by uuid or lvm_id. :returns None if lvm asset not found and path_create == None otherwise
@@ -308,7 +308,7 @@ class ObjectManager(AutomatedProperties): # We have a uuid and a lvm_id we can do sanity checks to ensure # that they are consistent - # If a PV is missing it's device path is '[unknown]' or some + # If a PV is missing its device path is '[unknown]' or some # other text derivation of unknown. When we find that a PV is # missing we will clear out the lvm_id as it's likely not unique # and thus not useful and potentially harmful for lookups.
daemons/lvmdbusd/utils.py +3 -3
@@ -593,7 +593,7 @@ def add_no_notify(cmdline): :rtype: list """ - # Only after we have seen an external event will be disable lvm from sending + # Only after we have seen an external event will we disable lvm from sending # us one when we call lvm if cfg.got_external_event: if 'help' in cmdline:
@@ -612,8 +612,8 @@ def add_no_notify(cmdline): # The methods below which start with mt_* are used to execute the desired code -# on the the main thread of execution to alleviate any issues the dbus-python -# library with regards to multi-threaded access. Essentially, we are trying to +# on the main thread of execution to alleviate any issues the dbus-python +# library with regard to multithreaded access. Essentially, we are trying to # ensure all dbus library interaction is done from the same thread!