Skip to content

Commit

Permalink
Fix lint issues (openconfig#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushines authored Nov 2, 2023
1 parent 232aa5d commit 93c7698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func createReport(d map[string]dutCoreFiles) string {
return b.String()
}

func registerAfter(e *eventlis.AfterTestsEvent) error {
func registerAfter(_ *eventlis.AfterTestsEvent) error {
cores := validator.stop()
foundCores := false
for _, files := range cores {
Expand Down
2 changes: 1 addition & 1 deletion internal/core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type fakeFileClient struct {
statResponses []any
}

func (f *fakeFileClient) Stat(ctx context.Context, in *fpb.StatRequest, opts ...grpc.CallOption) (*fpb.StatResponse, error) {
func (f *fakeFileClient) Stat(_ context.Context, _ *fpb.StatRequest, _ ...grpc.CallOption) (*fpb.StatResponse, error) {
if len(f.statResponses) == 0 {
return nil, fmt.Errorf("no more responses")
}
Expand Down

0 comments on commit 93c7698

Please sign in to comment.