mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func getPortCheckListenConfig() *net.ListenConfig {
|
||||
return &net.ListenConfig{
|
||||
Control: func(network, address string, c syscall.RawConn) (cerr error) {
|
||||
Control: func(_, _ string, c syscall.RawConn) (cerr error) {
|
||||
if err := c.Control(func(fd uintptr) {
|
||||
// Prevent listening socket from holding over in TIME_WAIT in the rare case a connection
|
||||
// attempt occurs in the short window the socket is listening. This ensures the registration
|
||||
|
||||
Reference in New Issue
Block a user