File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ func (s stubDeps) GetT() translations.TranslationHelperFunc { return s.
6363func (s stubDeps ) GetFlags (_ context.Context ) FeatureFlags { return s .flags }
6464func (s stubDeps ) GetContentWindowSize () int { return s .contentWindowSize }
6565func (s stubDeps ) IsFeatureEnabled (_ context.Context , _ string ) bool { return false }
66- func (s stubDeps ) Logger (_ context.Context ) mcpLog.Logger {
66+ func (s stubDeps ) Logger (ctx context.Context ) mcpLog.Logger {
6767 if s .obsv != nil {
68- return s .obsv .Logger (context . Background () )
68+ return s .obsv .Logger (ctx )
6969 }
7070 return mcpLog .NewNoopLogger ()
7171}
72- func (s stubDeps ) Metrics (_ context.Context ) mcpMetrics.Metrics {
72+ func (s stubDeps ) Metrics (ctx context.Context ) mcpMetrics.Metrics {
7373 if s .obsv != nil {
74- return s .obsv .Metrics (context . Background () )
74+ return s .obsv .Metrics (ctx )
7575 }
7676 return mcpMetrics .NewNoopMetrics ()
7777}
You can’t perform that action at this time.
0 commit comments