[lxc-devel] [lxd-demo-server/master] Removed Pointer Reference

jessecowens on Github lxc-bot at linuxcontainers.org
Sun Jul 8 02:11:17 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 483 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180708/13e9c630/attachment.bin>
-------------- next part --------------
From 638f635f5aa1a55c14e26ae766f3f08d98b5c0d3 Mon Sep 17 00:00:00 2001
From: Jesse Owens <jesse at jessecowens.com>
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,


More information about the lxc-devel mailing list