Correct invalid docstrings; s/Found/Error/
It's clear the docstrings intended to indicate ProtectedDeviceError, but instead indicate ProtectedDeviceFound. This clears up the documentation to assist deployers trying to implement hardware managers. Change-Id: Iea534f58aeec60b3862099c1d89be829654a54c1
This commit is contained in:
1 changed files with 3 additions and 3 deletions
@@ -1030,7 +1030,7 @@ class HardwareManager(object, metaclass=abc.ABCMeta):
:param node: Ironic node object
:param ports: list of Ironic port objects
:raises: ProtectedDeviceFound if a device has been identified which
:raises: ProtectedDeviceError if a device has been identified which
may require manual intervention due to the contents and
operational risk which exists as it could also be a sign
of an environmental misconfiguration.
@@ -1933,7 +1933,7 @@ class GenericHardwareManager(HardwareManager):
:param ports: list of Ironic port objects
:raises BlockDeviceEraseError: when there's an error erasing the
block device
:raises: ProtectedDeviceFound if a device has been identified which
:raises: ProtectedDeviceError if a device has been identified which
may require manual intervention due to the contents and
operational risk which exists as it could also be a sign
of an environmental misconfiguration.
@@ -1964,7 +1964,7 @@ class GenericHardwareManager(HardwareManager):
:param ports: list of Ironic port objects
:raises BlockDeviceEraseError: when there's an error erasing the
block device
:raises: ProtectedDeviceFound if a device has been identified which
:raises: ProtectedDeviceError if a device has been identified which
may require manual intervention due to the contents and
operational risk which exists as it could also be a sign
of an environmental misconfiguration.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.