propagate storage common logging config

This commit is contained in:
A.Unger
2021-11-11 13:58:19 +01:00
parent c6191b7404
commit 7eb2c25d65
15 changed files with 24 additions and 50 deletions
+1 -3
View File
@@ -124,9 +124,7 @@ type StoragePublicLinkSutureService struct {
// NewStoragePublicLinkSutureService creates a new storage.StoragePublicLinkSutureService
func NewStoragePublicLink(cfg *ociscfg.Config) suture.Service {
if cfg.Mode == 0 {
cfg.Storage.Reva.StoragePublicLink.Supervised = true
}
cfg.Storage.Log = cfg.Commons.Log
return StoragePublicLinkSutureService{
cfg: cfg.Storage,
}