Fix mediaclient usage of map[string]string buckets

This commit is contained in:
Victor Lacasse-Beaudoin 2023-08-15 15:51:42 -04:00
parent 789af54121
commit 0a6008189c

View file

@ -58,7 +58,7 @@ func (m *MediaClient) Seed() ([]string, error) {
var new_buckets []string 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) exists, err := m.MinioClient.BucketExists(context.Background(), bucket)
if err != nil { if err != nil {
return new_buckets, err return new_buckets, err