[Kimchi-devel] [PATCH] [Kimchi] Bug fix #1123: Do not rely on Wok configuration to get host information
Daniel Henrique Barboza
danielhb at linux.vnet.ibm.com
Tue Mar 21 17:49:13 UTC 2017
Reviewed-by: Daniel Barboza <danielhb at 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 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
>
More information about the Kimchi-devel
mailing list