chore: update to go1.21rc2, drop support for go1.19
This commit is contained in:
@ -48,7 +48,7 @@ func (p *Port) matchPortReal(portRef string) bool {
|
||||
func NewPort(port string, adapter string, ruleType C.RuleType) (*Port, error) {
|
||||
portRanges, err := utils.NewIntRanges[uint16](port)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("%w, %s", errPayload, err.Error())
|
||||
return nil, fmt.Errorf("%w, %w", errPayload, err)
|
||||
}
|
||||
|
||||
if len(portRanges) == 0 {
|
||||
|
Reference in New Issue
Block a user