[BREAKING] Changer Config.Server.Buckets à un map[string]string #98
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue