diff --git a/firewall.go b/firewall.go index 2015c28..36b5d34 100644 --- a/firewall.go +++ b/firewall.go @@ -916,7 +916,7 @@ type rule struct { CASha string } -func convertRule(l *logrus.Logger, p interface{}, table string, i int) (rule, error) { +func convertRule(l *logrus.Logger, p any, table string, i int) (rule, error) { r := rule{} m, ok := p.(map[string]any)