Skip to content

Commit b2fb6af

Browse files
committed
lint
1 parent cf80efe commit b2fb6af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

agent/agenttest/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func (f *FakeAgentAPI) BatchUpdateMetadata(ctx context.Context, req *agentproto.
267267
return &agentproto.BatchUpdateMetadataResponse{}, nil
268268
}
269269

270-
func (f *FakeAgentAPI) GetExperiments(ctx context.Context, req *agentproto.GetExperimentsRequest) (*agentproto.GetExperimentsResponse, error) {
270+
func (f *FakeAgentAPI) GetExperiments(_ context.Context, _ *agentproto.GetExperimentsRequest) (*agentproto.GetExperimentsResponse, error) {
271271
f.Lock()
272272
defer f.Unlock()
273273
return agentsdk.ProtoFromExperiments(f.experiments), nil

coderd/agentapi/experiments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ type ExperimentAPI struct {
1212
experiments codersdk.Experiments
1313
}
1414

15-
func (a *ExperimentAPI) GetExperiments(ctx context.Context, _ *proto.GetExperimentsRequest) (*proto.GetExperimentsResponse, error) {
15+
func (a *ExperimentAPI) GetExperiments(_ context.Context, _ *proto.GetExperimentsRequest) (*proto.GetExperimentsResponse, error) {
1616
return agentsdk.ProtoFromExperiments(a.experiments), nil
1717
}

0 commit comments

Comments
 (0)