Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
change errors.Ignore func types to uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
vlorinc committed Oct 6, 2023
1 parent 44d5786 commit 2f9183b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ func IgnoreStatusErrorCode(err error, errorCodes ...uint32) error {
}

// Create array of status error codes to be ignored
func Ignore(errorCodes ...int32) []int32 {
arr := make([]int32, 0, len(errorCodes))
func Ignore(errorCodes ...uint32) []uint32 {
arr := make([]uint32, 0, len(errorCodes))
arr = append(arr, errorCodes...)

return arr
Expand Down

0 comments on commit 2f9183b

Please sign in to comment.