mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-02 02:11:18 -06:00
add missing commons in supervised mode
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user