suport for store

This commit is contained in:
A.Unger
2021-03-17 15:37:35 +01:00
parent bf63bc8c7c
commit 314014ae21
3 changed files with 9 additions and 0 deletions
+2
View File
@@ -66,6 +66,7 @@ func NewLogger(cfg *config.Config) log.Logger {
log.Level(cfg.Log.Level),
log.Pretty(cfg.Log.Pretty),
log.Color(cfg.Log.Color),
log.File(cfg.Log.File),
)
}
@@ -124,6 +125,7 @@ func NewSutureService(cfg *ociscfg.Config) suture.Service {
if cfg.Mode == 0 {
cfg.Store.Supervised = true
}
cfg.Store.Log.File = cfg.Log.File
return SutureService{
cfg: cfg.Store,
}