summaryrefslogtreecommitdiff
path: root/pkg/firewall/firewall_none.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/firewall/firewall_none.go')
-rw-r--r--pkg/firewall/firewall_none.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/firewall/firewall_none.go b/pkg/firewall/firewall_none.go
index 9f9594b4a..9add24842 100644
--- a/pkg/firewall/firewall_none.go
+++ b/pkg/firewall/firewall_none.go
@@ -19,8 +19,10 @@ import (
)
// FirewallNone is a firewall backend for environments where manipulating the
-// system firewall is unsupported (for example, when running without root)
-type FirewallNone struct {}
+// system firewall is unsupported (for example, when running without root).
+// Nolint applied to avoid firewall.FirewallNone name duplication notes.
+//nolint
+type FirewallNone struct{}
func newNoneBackend() (FirewallBackend, error) {
return &FirewallNone{}, nil