[lxc-devel] [lxd/master] lxd/db: Revert 3da5aea1 fix, since in turn testify reverted the change

freeekanayaka on Github lxc-bot at linuxcontainers.org
Thu Feb 20 14:17:14 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200220/141401d1/attachment.bin>
-------------- next part --------------
From 86227552140a3db0e8be61d9d27166d20b85fa84 Mon Sep 17 00:00:00 2001
From: Free Ekanayaka <free.ekanayaka at canonical.com>
Date: Thu, 20 Feb 2020 13:55:36 +0000
Subject: [PATCH] lxd/db: Revert 3da5aea1 fix, since in turn testify reverted
 the change

Signed-off-by: Free Ekanayaka <free.ekanayaka at canonical.com>
---
 lxd/db/db_internal_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/db/db_internal_test.go b/lxd/db/db_internal_test.go
index dd9fa7ec7a..13c28f7069 100644
--- a/lxd/db/db_internal_test.go
+++ b/lxd/db/db_internal_test.go
@@ -63,7 +63,7 @@ func (s *dbTestSuite) CreateTestDb() (*Cluster, func()) {
 		s.Nil(err)
 	}
 
-	db, cleanup := NewTestCluster(s.T().(*testing.T))
+	db, cleanup := NewTestCluster(s.T())
 	return db, cleanup
 }
 


More information about the lxc-devel mailing list