summaryrefslogtreecommitdiffstats
path: root/nova/cells
diff options
context:
space:
mode:
Diffstat (limited to 'nova/cells')
-rw-r--r--nova/cells/weights/mute_child.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/cells/weights/mute_child.py b/nova/cells/weights/mute_child.py
index b8fd0570b..0f6fb0bbb 100644
--- a/nova/cells/weights/mute_child.py
+++ b/nova/cells/weights/mute_child.py
@@ -58,7 +58,8 @@ class MuteChildWeigher(weights.BaseCellWeigher):
def _weigh_object(self, cell, weight_properties):
"""Check cell against the last_seen timestamp that indicates the time
that the most recent capability or capacity update was received from
- the given cell."""
+ the given cell.
+ """
last_seen = cell.last_seen
secs = CONF.cells.mute_child_interval