This commit is contained in:
parent
f3d123ee3b
commit
947220b65c
5 changed files with 11 additions and 38 deletions
|
|
@ -52,15 +52,13 @@ func main() {
|
|||
log.Debug("Utils provider initialized")
|
||||
|
||||
mediaProvider := mediaStorage.NewHandler(mediaStorage.Deps{
|
||||
Host: c.MediaConf.Host,
|
||||
Port: c.MediaConf.Port,
|
||||
Endpoint: c.MediaConf.Endpoint,
|
||||
User: c.MediaConf.User,
|
||||
Password: c.MediaConf.Password,
|
||||
Domain: c.MediaConf.Domain,
|
||||
Secure: c.MediaConf.Secure,
|
||||
})
|
||||
log.WithFields(log.Fields{
|
||||
"address": c.MediaConf.Host + ":" + c.MediaConf.Port,
|
||||
"endpoint": c.MediaConf.Endpoint,
|
||||
"provider": mediaProvider,
|
||||
}).Debug("Media storage | Minio client created")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue