From fcb9c0bb8bed51ffb856b8e47f4e047ddd75eb67 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Thu, 24 Nov 2022 08:35:46 +0000 Subject: [chore] cleanup storage implementation, no need for multiple interface types (#1131) Signed-off-by: kim Signed-off-by: kim --- cmd/gotosocial/action/testrig/testrig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/gotosocial/action/testrig/testrig.go b/cmd/gotosocial/action/testrig/testrig.go index e5436878f..2259f7148 100644 --- a/cmd/gotosocial/action/testrig/testrig.go +++ b/cmd/gotosocial/action/testrig/testrig.go @@ -71,7 +71,7 @@ var Start action.GTSAction = func(ctx context.Context) error { dbService := testrig.NewTestDB() testrig.StandardDBSetup(dbService, nil) router := testrig.NewTestRouter(dbService) - var storageBackend storage.Driver + var storageBackend *storage.Driver if os.Getenv("GTS_STORAGE_BACKEND") == "s3" { storageBackend = testrig.NewS3Storage() } else { -- cgit v1.2.3