change StorageServer to take nodeid in the constructor, instead of assigning it later, since it's cleaner and because the original problem (Tubs not being ready until later) went away

This commit is contained in:
Brian Warner
2009-02-18 16:23:01 -07:00
parent b398a69f14
commit 4646451de6
5 changed files with 18 additions and 34 deletions

View File

@ -162,7 +162,7 @@ class Client(node.Node, pollmixin.PollMixin):
reserved = 0
discard = self.get_config("storage", "debug_discard", False,
boolean=True)
ss = StorageServer(storedir,
ss = StorageServer(storedir, self.nodeid,
reserved_space=reserved,
discard_storage=discard,
readonly_storage=readonly,