Skip to content

Commit

Permalink
Fix lint error encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Mar 21, 2024
1 parent 5b0df0d commit b2e4261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/encoding/encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type MockEmptyReader struct {
func (m *MockFailingReader) Read(p []byte) (n int, err error) {
return copy(p, m.data), io.EOF
}
func (m *MockEmptyReader) Read(p []byte) (n int, err error) {
func (m *MockEmptyReader) Read(_ []byte) (n int, err error) {
return 0, nil
}

Expand Down

0 comments on commit b2e4261

Please sign in to comment.