Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Moore <jamesmoore@loopholelabs.io>
  • Loading branch information
jimmyaxod committed Nov 14, 2024
1 parent bfcef2a commit b2185a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/storage/protocol/mock_protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewMockProtocol(ctx context.Context) *MockProtocol {
}
}

func (mp *MockProtocol) SendPacket(dev uint32, id uint32, data []byte, urgency Urgency) (uint32, error) {
func (mp *MockProtocol) SendPacket(dev uint32, id uint32, data []byte, _ Urgency) (uint32, error) {
cmd := data[0]

// if id is ANY, pick one
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/protocol/to_protocol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type sendPacketInfo struct {
data []byte
}

func (p *MockPro) SendPacket(dev uint32, id uint32, data []byte, urgency Urgency) (uint32, error) {
func (p *MockPro) SendPacket(dev uint32, id uint32, data []byte, _ Urgency) (uint32, error) {
mockID := uint32(999)
p.sendPackets <- &sendPacketInfo{
dev: dev,
Expand Down

0 comments on commit b2185a4

Please sign in to comment.