mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-11 14:52:56 +02:00
ai generated tests
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user