The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5478
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) === fingerprints in variable certificates
From a65153bfbffd34968afef587fe057c2c3bdd9ed8 Mon Sep 17 00:00:00 2001 From: Denis Halturin <[email protected]> Date: Mon, 11 Feb 2019 02:06:13 +0300 Subject: [PATCH] fix variable in range fingerprints in variable certificates --- client/lxd_certificates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lxd_certificates.go b/client/lxd_certificates.go index 1c036b5239..c21651481d 100644 --- a/client/lxd_certificates.go +++ b/client/lxd_certificates.go @@ -22,7 +22,7 @@ func (r *ProtocolLXD) GetCertificateFingerprints() ([]string, error) { // Parse it fingerprints := []string{} - for _, fingerprint := range fingerprints { + for _, fingerprint := range certificates { fields := strings.Split(fingerprint, "/certificates/") fingerprints = append(fingerprints, fields[len(fields)-1]) }
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
