add missing commons in supervised mode

This commit is contained in:
Willy Kloucek
2022-01-03 17:19:10 +01:00
parent 3d4df5796a
commit e37eff7dc8
2 changed files with 2 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ type SutureService struct {
// NewSutureService creates a new graph-explorer.SutureService
func NewSutureService(cfg *ociscfg.Config) suture.Service {
//cfg.GraphExplorer.Log = cfg.Log
cfg.GraphExplorer.Commons = cfg.Commons
return SutureService{
cfg: cfg.GraphExplorer,
}

View File

@@ -52,6 +52,7 @@ type SutureService struct {
// NewSutureService creates a new store.SutureService
func NewSutureService(cfg *ociscfg.Config) suture.Service {
cfg.Store.Commons = cfg.Commons
return SutureService{
cfg: cfg.Store,
}