Fix mediaclient usage of map[string]string buckets
This commit is contained in:
parent
789af54121
commit
0a6008189c
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