The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5532

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===

Signed-off-by: Free Ekanayaka <[email protected]>
From 1336407af2d68fee772706353127a9e73297d898 Mon Sep 17 00:00:00 2001
From: Free Ekanayaka <[email protected]>
Date: Wed, 27 Feb 2019 14:17:36 +0100
Subject: [PATCH] When starting up, use the cluster.https_address as key for
 updating the nodes table

Signed-off-by: Free Ekanayaka <[email protected]>
---
 lxd/daemon.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/daemon.go b/lxd/daemon.go
index 5a31349e7c..d9f1b77f84 100644
--- a/lxd/daemon.go
+++ b/lxd/daemon.go
@@ -579,7 +579,7 @@ func (d *Daemon) init() error {
                }
 
                d.cluster, err = db.OpenCluster(
-                       "db.bin", store, address, dir,
+                       "db.bin", store, clusterAddress, dir,
                        d.config.DqliteSetupTimeout,
                        dqlite.WithDialFunc(d.gateway.DialFunc()),
                        dqlite.WithContext(d.gateway.Context()),
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to