[BREAKING] Changer Config.Server.Buckets à un map[string]string #98

Merged
vlbeaudoin merged 4 commits from feature/config-bucket-displayname into main 2023-08-15 16:02:10 -04:00
Showing only changes of commit 0a6008189c - Show all commits

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