fix all storages

This commit is contained in:
A.Unger
2021-11-11 15:48:00 +01:00
parent 582649b7d4
commit 59f53390a8
16 changed files with 85 additions and 210 deletions
+4
View File
@@ -167,6 +167,10 @@ func Start(o ...Option) error {
}
}
if s.cfg.Storage.Log == nil {
s.cfg.Storage.Log = &shared.Log{}
}
s.cfg.Storage.Log.Color = s.cfg.Commons.Color
s.cfg.Storage.Log.Level = s.cfg.Commons.Level
s.cfg.Storage.Log.Pretty = s.cfg.Commons.Pretty