ai generated tests

This commit is contained in:
Quentin McGaw
2026-08-07 11:20:23 +00:00
parent c463c56f86
commit ba5942a929
13 changed files with 2305 additions and 1 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ func buildRedirectMatchExprs(intf string, protocol uint8, portBytes []byte) []ex
}
func isTableDoesNotExist(err error) bool {
return strings.Contains(err.Error(), "Table does not exist")
return err != nil && strings.Contains(err.Error(), "Table does not exist")
}
func removeFailedRules(rules []*nftables.Rule, failed []*nftables.Rule) (succeeded []*nftables.Rule) {