From 9adcbb575846b7eee422004e0a4fe6c8dfa1b657 Mon Sep 17 00:00:00 2001 From: Philipp Defner Date: Fri, 12 Jul 2024 15:11:18 +0200 Subject: [PATCH] Test storage backend --- pmt.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmt.go b/pmt.go index 18c0299..02fdc12 100644 --- a/pmt.go +++ b/pmt.go @@ -53,6 +53,9 @@ func main() { if err != nil { return } + if err := storageRepo.Save("test", "test"); err != nil { + l.Log("msg", fmt.Sprintf("failed to save test key: %s,", err), "backend", cfg.StorageBackend) + } as := api.NewService(l, cfg, lfm, storageRepo)