Skip to content

Commit 0cabbec

Browse files
committed
fix: ignore unused variables
1 parent be4a5d6 commit 0cabbec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interceptor/tracing_interceptor.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type Tracer interface {
6363
// BaseTracer is a default implementation of Tracer meant for embedding.
6464
type BaseTracer struct{}
6565

66-
func (BaseTracer) GetLogger(logger log.Logger, ref TracerSpanRef) log.Logger {
66+
func (BaseTracer) GetLogger(logger log.Logger, _ TracerSpanRef) log.Logger {
6767
return logger
6868
}
6969
func (BaseTracer) SpanName(options *TracerStartSpanOptions) string {
@@ -194,7 +194,7 @@ func (t *tracingInterceptor) InterceptClient(next ClientOutboundInterceptor) Cli
194194
}
195195

196196
func (t *tracingInterceptor) InterceptActivity(
197-
ctx context.Context,
197+
_ context.Context,
198198
next ActivityInboundInterceptor,
199199
) ActivityInboundInterceptor {
200200
i := &tracingActivityInboundInterceptor{root: t}
@@ -212,7 +212,7 @@ func (t *tracingInterceptor) InterceptWorkflow(
212212
}
213213

214214
func (t *tracingInterceptor) InterceptNexusOperation(
215-
ctx context.Context,
215+
_ context.Context,
216216
next NexusOperationInboundInterceptor,
217217
) NexusOperationInboundInterceptor {
218218
i := &tracingNexusOperationInboundInterceptor{root: t}
@@ -1073,6 +1073,6 @@ type childWorkflowFuture struct{ workflow.Future }
10731073

10741074
func (e childWorkflowFuture) GetChildWorkflowExecution() workflow.Future { return e }
10751075

1076-
func (e childWorkflowFuture) SignalChildWorkflow(ctx workflow.Context, signalName string, data any) workflow.Future {
1076+
func (e childWorkflowFuture) SignalChildWorkflow(_ workflow.Context, _ string, _ any) workflow.Future {
10771077
return e
10781078
}

0 commit comments

Comments
 (0)