add missing commons in supervised mode

This commit is contained in:
Willy Kloucek committed 2022-01-03 17:19:25 +01:00
1 parent 3d4df5796a
commit e37eff7dc8
2 files changed
+2 -1

No files matched your search

+1 -1
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,
}
+1
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,
}