Ubuntu Pastebin

Paste from egon at Fri, 3 Nov 2017 09:27:23 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/cmd/snap-update-ns/main.go b/cmd/snap-update-ns/main.go
index a0ae8556f..7230d2cac 100644
--- a/cmd/snap-update-ns/main.go
+++ b/cmd/snap-update-ns/main.go
@@ -120,7 +120,7 @@ func run() error {
 	// Compute the needed changes and perform each change if needed, collecting
 	// those that we managed to perform or that were performed already.
 	changesNeeded := NeededChanges(currentBefore, desired)
-	var changesMade []Change
+	var changesMade []*Change
 	for _, change := range changesNeeded {
 		if change.Action == Keep {
 			changesMade = append(changesMade, change)
Download as text