chore(lint): upgrade from v1.51.2 to v1.52.2

This commit is contained in:
Quentin McGaw
2023-04-12 08:36:58 +00:00
parent 20f4d8cc0b
commit 723d0f5e12
18 changed files with 33 additions and 39 deletions

View File

@@ -95,14 +95,11 @@ func (c *Config) setIPv4AllPolicies(ctx context.Context, policy string) error {
default:
return fmt.Errorf("%w: %s", ErrPolicyUnknown, policy)
}
if err := c.runIptablesInstructions(ctx, []string{
return c.runIptablesInstructions(ctx, []string{
"--policy INPUT " + policy,
"--policy OUTPUT " + policy,
"--policy FORWARD " + policy,
}); err != nil {
return err
}
return nil
})
}
func (c *Config) acceptInputThroughInterface(ctx context.Context, intf string, remove bool) error {