The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5479
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: Denis Khalturin <[email protected]>
From 6401f063087db5f71f1a74eb44f9f6ad6c11251e Mon Sep 17 00:00:00 2001 From: Denis Khalturin <[email protected]> Date: Mon, 11 Feb 2019 02:42:27 +0300 Subject: [PATCH] fix variable in range Signed-off-by: Denis Khalturin <[email protected]> --- 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
