mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdbusd: Correct typos
This commit is contained in:
parent
abf22df46c
commit
068073e924
@ -287,7 +287,7 @@ class ObjectManager(AutomatedProperties):
|
|||||||
register it with the object manager for the specified uuid & lvm_id.
|
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
|
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 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
|
:param path_create: If not None, create the path using this function if
|
||||||
we fail to find the object by uuid or lvm_id.
|
we fail to find the object by uuid or lvm_id.
|
||||||
:returns None if lvm asset not found and path_create == None otherwise
|
: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
|
# We have a uuid and a lvm_id we can do sanity checks to ensure
|
||||||
# that they are consistent
|
# 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
|
# 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
|
# missing we will clear out the lvm_id as it's likely not unique
|
||||||
# and thus not useful and potentially harmful for lookups.
|
# and thus not useful and potentially harmful for lookups.
|
||||||
|
@ -593,7 +593,7 @@ def add_no_notify(cmdline):
|
|||||||
:rtype: list
|
: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
|
# us one when we call lvm
|
||||||
if cfg.got_external_event:
|
if cfg.got_external_event:
|
||||||
if 'help' in cmdline:
|
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
|
# 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
|
# on the main thread of execution to alleviate any issues the dbus-python
|
||||||
# library with regards to multi-threaded access. Essentially, we are trying to
|
# library with regard to multithreaded access. Essentially, we are trying to
|
||||||
# ensure all dbus library interaction is done from the same thread!
|
# ensure all dbus library interaction is done from the same thread!
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user