diff --git a/ocs/pkg/server/http/svc_test.go b/ocs/pkg/server/http/svc_test.go index 32e38a9c11..0d4695a232 100644 --- a/ocs/pkg/server/http/svc_test.go +++ b/ocs/pkg/server/http/svc_test.go @@ -551,7 +551,7 @@ func init() { Path: dataPath, }, }, - Log: shared.Log{ + Log: &shared.Log{ Level: "info", Pretty: true, Color: true, @@ -562,7 +562,7 @@ func init() { var err error if hdlr, err = accountsSvc.New( - accountsSvc.Logger(oclog.LoggerFromConfig("accounts", c.Log)), + accountsSvc.Logger(oclog.LoggerFromConfig("accounts", *c.Log)), accountsSvc.Config(c), accountsSvc.RoleService(buildRoleServiceMock()), ); err != nil { diff --git a/proxy/pkg/proxy/proxy_integration_test.go b/proxy/pkg/proxy/proxy_integration_test.go index 3e7736e83b..9809383a67 100644 --- a/proxy/pkg/proxy/proxy_integration_test.go +++ b/proxy/pkg/proxy/proxy_integration_test.go @@ -215,7 +215,7 @@ func (tc *testCase) expectProxyTo(strURL string) testCase { func testConfig(policy []config.Policy) *config.Config { return &config.Config{ - Log: shared.Log{}, + Log: &shared.Log{}, Debug: config.Debug{}, HTTP: config.HTTP{}, Tracing: config.Tracing{},