Docstrings should not start with a space
As per OpenStack Docstrings guide lines [1]: [H401] Docstrings should not start with a space. [H403] Multi line docstrings should end on a new line. [H404] Multi line docstrings should start without a leading new line. [H405] Multi line docstrings should start with a one line summary followed by an empty line. [1] http://docs.openstack.org/developer/hacking/#docstrings trivialfix Change-Id: Ife5049b73c65b7dc3eecc18567343ed95fdfe05c
This commit is contained in:
parent
df05da676d
commit
abeda56eea
|
@ -15,7 +15,7 @@ from freezer_dr.evacuators.common.driver import EvacuatorBaseDriver
|
||||||
|
|
||||||
|
|
||||||
class DummyEvacuator(EvacuatorBaseDriver):
|
class DummyEvacuator(EvacuatorBaseDriver):
|
||||||
""" Evacuation driver that does nothing. Useful for testing other parts
|
"""Evacuation driver that does nothing. Useful for testing other parts
|
||||||
of Freezer-DR.
|
of Freezer-DR.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@ from freezer_dr.monitors.common.driver import MonitorBaseDriver
|
||||||
|
|
||||||
|
|
||||||
class DummyDriver(MonitorBaseDriver):
|
class DummyDriver(MonitorBaseDriver):
|
||||||
"""
|
"""A monitoring driver that returns a configured list of nodes as failed.
|
||||||
A monitoring driver that returns a configured list of nodes as failed.
|
|
||||||
This can be useful for testing without actually shutting down the nodes.
|
This can be useful for testing without actually shutting down the nodes.
|
||||||
The nodes that should be reported as failing, can be configured in the
|
The nodes that should be reported as failing, can be configured in the
|
||||||
monitoring section of the freezer_dr configuration file as follows:
|
monitoring section of the freezer_dr configuration file as follows:
|
||||||
|
|
Loading…
Reference in New Issue