From 0867455a0b7693b8e77644bfb4bb21a253f19158 Mon Sep 17 00:00:00 2001 From: Wade Simmons Date: Wed, 4 Sep 2024 09:51:15 -0400 Subject: [PATCH] more cleanup --- firewall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)