From fde5e3549644946a672321c430b16e49257d86d3 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Mon, 15 Nov 2021 10:38:02 +0100 Subject: [PATCH] fix commons propagation --- ocis/pkg/command/server.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ocis/pkg/command/server.go b/ocis/pkg/command/server.go index 0863c5746a..336a39e87a 100644 --- a/ocis/pkg/command/server.go +++ b/ocis/pkg/command/server.go @@ -6,6 +6,8 @@ package command import ( "strings" + "github.com/owncloud/ocis/ocis-pkg/shared" + "github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/runtime" @@ -26,6 +28,11 @@ func Server(cfg *config.Config) *cli.Command { return ParseConfig(c, cfg) }, Action: func(c *cli.Context) error { + + cfg.Commons = &shared.Commons{ + Log: &cfg.Log, + } + r := runtime.New(cfg) return r.Start() },