We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9d53c8 commit 8e2c0acCopy full SHA for 8e2c0ac
.github/workflows/main.yml
@@ -26,3 +26,5 @@ jobs:
26
run: go get .
27
- name: Build
28
run: go build -v ./...
29
+ - name: Lint
30
+ run: go vet ./...
internal/app/nat4hook.go
@@ -81,7 +81,7 @@ func (hook Nat4Hook) RunExit(ctx context.Context) error {
81
if errcount == 1 {
82
return lasterr
83
} else if errcount > 1 {
84
- return fmt.Errorf("%i iptable errors", errcount)
+ return fmt.Errorf("%d iptable errors", errcount)
85
}
86
return nil
87
0 commit comments