Fix revive linter errors
Golangci-lint is now running version 1.52.1. This introduced some errors. Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
This commit is contained in:
@ -130,10 +130,7 @@ func cmdDel(args *skel.CmdArgs) error {
|
||||
|
||||
// We don't need to parse out whether or not we're using v6 or snat,
|
||||
// deletion is idempotent
|
||||
if err := unforwardPorts(netConf); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return unforwardPorts(netConf)
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Reference in New Issue
Block a user