Commit 31fa209f authored by Jeremy Hylton's avatar Jeremy Hylton

Fix extraction of monitor address.

I don't really understand why this change and the last one to
runzeo.py have their apparent effects, but the tests work and the -m
option to runzeo.py works.
parent 44ce3aae
...@@ -180,7 +180,7 @@ def main(): ...@@ -180,7 +180,7 @@ def main():
storage = zo.storages[0].open() storage = zo.storages[0].open()
mon_addr = None mon_addr = None
if zo.monitor_address: if zo.monitor_address:
mon_addr = zo.monitor_address.address mon_addr = zo.monitor_address
server = StorageServer( server = StorageServer(
zo.address, zo.address,
{"1": storage}, {"1": storage},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment