Fix tests and linters

This commit is contained in:
Daniel
2022-02-02 12:48:42 +01:00
parent f2fcad4d11
commit 60d8664e7b
171 changed files with 944 additions and 874 deletions

View File

@@ -1,6 +1,6 @@
package main
import (
import ( //nolint:gci,nolintlint
"os"
"github.com/safing/portbase/info"
@@ -8,7 +8,7 @@ import (
"github.com/safing/portbase/run"
"github.com/safing/spn/conf"
// include packages here
// Include packages here.
_ "github.com/safing/portbase/modules/subsystems"
_ "github.com/safing/portmaster/core"
_ "github.com/safing/portmaster/firewall"
@@ -22,7 +22,7 @@ func main() {
info.Set("Portmaster", "0.7.21", "AGPLv3", true)
// Configure metrics.
metrics.SetNamespace("portmaster")
_ = metrics.SetNamespace("portmaster")
// enable SPN client mode
conf.EnableClient(true)