From 8498462b7af41a4b23ef6004710b17d9a529f592 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Fri, 2 May 2008 09:36:21 +0000 Subject: [PATCH] ssconf: update the SetKey docstring SetKey is used, other than for adding new nodes, in another few cases. Update the docstring to reflect this, so we don't mislead people reading it. Reviewed-by: iustinp --- lib/ssconf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ssconf.py b/lib/ssconf.py index bdfcfdd75..120d85d6c 100644 --- a/lib/ssconf.py +++ b/lib/ssconf.py @@ -178,7 +178,8 @@ class SimpleStore: def SetKey(self, key, value): """Set the value of a key. - This should be used only when adding a node to a cluster. + This should be used only when adding a node to a cluster, or in other + infrequent operations such as cluster-rename or master-failover. """ file_name = self.KeyToFilename(key) -- GitLab