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

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) ===
This fixes the return value of the DeleteImage function.

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From e37946085db288928907bf1035451d009f21ef0a Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Thu, 21 Nov 2019 15:50:02 +0100
Subject: [PATCH] lxd/storage: Fix DeleteImage return value

This fixes the return value of the DeleteImage function.

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 lxd/storage/backend_lxd.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/storage/backend_lxd.go b/lxd/storage/backend_lxd.go
index 14e72c511f..757f23e55c 100644
--- a/lxd/storage/backend_lxd.go
+++ b/lxd/storage/backend_lxd.go
@@ -906,7 +906,7 @@ func (b *lxdBackend) DeleteImage(fingerprint string, op 
*operations.Operation) e
                return err
        }
 
-       return ErrNotImplemented
+       return nil
 }
 
 // CreateCustomVolume creates an empty custom volume.
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to