moare fixes

This commit is contained in:
Quentin McGaw
2026-08-06 20:19:10 +00:00
parent a10285d874
commit c463c56f86
8 changed files with 145 additions and 22 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func (f *Firewall) Version(ctx context.Context) (string, error) {
outputStr := strings.TrimSpace(string(output))
words := strings.Fields(outputStr)
if len(words) == 0 {
return "", errors.New(emptyVersionError) //nolint:err113
return "", errors.New(emptyVersionError)
}
return words[0], nil
}