Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
Signed-off-by: Armin Schlegel <[email protected]>
  • Loading branch information
siredmar committed Nov 23, 2023
1 parent 839b6f8 commit f1b3c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ipam/host-local/backend/testing/fake_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ func (s *FakeStore) HasReservedIP(podNs, podName string) (bool, net.IP) {
return false, ip
}

func (s *FakeStore) ReservePodInfo(id string, ip net.IP, podName string, podIsExist bool) (bool, error) {
func (s *FakeStore) ReservePodInfo(id string, ip net.IP, podNs, podName string, podIsExist bool) (bool, error) {

Check warning on line 105 in plugins/ipam/host-local/backend/testing/fake_store.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
return true, nil
}

0 comments on commit f1b3c98

Please sign in to comment.