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

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: Christian Brauner <christian.brau...@ubuntu.com>
From c98943f87690ef8ae0d0b4c5e5288b2eb28d7e13 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Fri, 28 Apr 2017 22:21:04 +0200
Subject: [PATCH] btrfs: remove unused variable

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 lxd/storage_btrfs.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lxd/storage_btrfs.go b/lxd/storage_btrfs.go
index 15ff9c3..ae74adb 100644
--- a/lxd/storage_btrfs.go
+++ b/lxd/storage_btrfs.go
@@ -286,7 +286,6 @@ func (s *storageBtrfs) StoragePoolDelete() error {
                msg := ""
                if err == nil {
                        msg = fmt.Sprintf("Removing disk device %s with UUID: 
%s.", diskPath, source)
-                       diskPath = fmt.Sprintf("/dev/%s", 
strings.Trim(diskPath, "../../"))
                } else {
                        msg = fmt.Sprintf("Failed to lookup disk device with 
UUID: %s: %s.", source, err)
                }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to