add missing commons in supervised mode

This commit is contained in:
Willy Kloucek authored and Jörn Friedrich Dreyer committed 2022-01-07 16:12:01 +00:00
1 parent adc7b3b3d2
commit 5b56920128
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,
}