new config framework in ocs

This commit is contained in:
A.Unger
2021-11-08 13:58:13 +01:00
parent 261a800b6b
commit 51dc1715ce
5 changed files with 54 additions and 35 deletions
+2 -2
View File
@@ -78,8 +78,8 @@ type SutureService struct {
// NewSutureService creates a new graph.SutureService
func NewSutureService(cfg *ociscfg.Config) suture.Service {
if (cfg.Accounts.Log == shared.Log{}) {
cfg.Accounts.Log = cfg.Log
if (cfg.Graph.Log == shared.Log{}) {
cfg.Graph.Log = cfg.Log
}
return SutureService{
cfg: cfg.Graph,