summaryrefslogtreecommitdiff
path: root/ctdb/tests/takeover
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-07-22 20:21:46 +1000
committerMartin Schwenke <martin@meltin.net>2011-07-29 14:32:07 +1000
commitd2ec92ba71b99a6a2e84aeb5a0784f134f6a3b0b (patch)
treeb34aa921b6a093408beb920295049fffcd15764b /ctdb/tests/takeover
parentc84310e5127574071897a53830385ffbcded6221 (diff)
downloadsamba-d2ec92ba71b99a6a2e84aeb5a0784f134f6a3b0b.tar.gz
IP allocation simulation - fix documentation for diff() function.
It had out-of-date information and a typo. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 5d0d2b8b528414c859da0e6fd5959321db33608b)
Diffstat (limited to 'ctdb/tests/takeover')
-rwxr-xr-xctdb/tests/takeover/ctdb_takeover.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ctdb/tests/takeover/ctdb_takeover.py b/ctdb/tests/takeover/ctdb_takeover.py
index 5abfc29bd09..8f9cf6de714 100755
--- a/ctdb/tests/takeover/ctdb_takeover.py
+++ b/ctdb/tests/takeover/ctdb_takeover.py
@@ -436,9 +436,7 @@ class Cluster(object):
"""Calculate differences in IP assignments between self and prev.
Gratuitous IP moves (from a healthy node to a healthy node)
- are prefix by !!. Any gratuitous IP moves cause this function
- to return False. If there are no gratuitous moves then it
- will return True."""
+ are prefixed by !!."""
ip_moves = 0
grat_ip_moves = 0