Reviewed-by: Daniel Barboza <danielhb(a)linux.vnet.ibm.com>
On 03/21/2017 01:55 PM, Aline Manera wrote:
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(a)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