[Kimchi-devel] [PATCH] [Kimchi] Bug fix #1123: Do not rely on Wok configuration to get host information
Aline Manera
alinefm at linux.vnet.ibm.com
Tue Mar 21 16:55:32 UTC 2017
The host information is only part of nginx configuration. So get the
information of the running system to configure federation feature over
openSLP
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
model/peers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/model/peers.py b/model/peers.py
index 1be606b..c0dccce 100644
--- a/model/peers.py
+++ b/model/peers.py
@@ -34,7 +34,7 @@ class PeersModel(object):
return
# register server on openslp
- hostname = socket.getfqdn(wok_config.get("server", "host"))
+ hostname = socket.getfqdn()
port = wok_config.get("server", "proxy_port")
self.url = hostname + ":" + port
--
2.9.3
More information about the Kimchi-devel
mailing list