From 0a6008189c3fe74b0dc66b64c0b219a2c5a67801 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Tue, 15 Aug 2023 15:51:42 -0400 Subject: [PATCH] Fix mediaclient usage of map[string]string buckets --- media/media.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/media.go b/media/media.go index 8f22e8f..b5cb765 100644 --- a/media/media.go +++ b/media/media.go @@ -58,7 +58,7 @@ func (m *MediaClient) Seed() ([]string, error) { var new_buckets []string - for _, bucket := range cfg.Server.Documents.Buckets { + for bucket := range cfg.Server.Documents.Buckets { exists, err := m.MinioClient.BucketExists(context.Background(), bucket) if err != nil { return new_buckets, err