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
@@ -84,8 +84,8 @@ type SutureService struct {
// NewSutureService creates a new idp.SutureService
func NewSutureService(cfg *ociscfg.Config) suture.Service {
if (cfg.Accounts.Log == shared.Log{}) {
cfg.Accounts.Log = cfg.Log
if (cfg.IDP.Log == shared.Log{}) {
cfg.IDP.Log = cfg.Log
}
return SutureService{
cfg: cfg.IDP,