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

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) ===
I wasn't able to run go build with rest.go line 375 using a pointer to the interface. Removing the pointer reference and passing the interface itself built and runs for me.
From 638f635f5aa1a55c14e26ae766f3f08d98b5c0d3 Mon Sep 17 00:00:00 2001
From: Jesse Owens <[email protected]>
Date: Sat, 7 Jul 2018 18:36:35 -0600
Subject: [PATCH] Removed Pointer Reference

---
 rest.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rest.go b/rest.go
index 37d62a1..698a39f 100644
--- a/rest.go
+++ b/rest.go
@@ -372,7 +372,7 @@ users:
 `, containerUsername, containerPassword)
        }
 
-       var rop *lxd.RemoteOperation
+       var rop lxd.RemoteOperation
        if config.Container != "" {
                args := lxd.ContainerCopyArgs{
                        Name:          containerName,
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to