From 2f9183bfa83927791096ff429e2f1f48cfe3aaa2 Mon Sep 17 00:00:00 2001 From: Viliam Lorinc Date: Fri, 6 Oct 2023 14:17:49 +0200 Subject: [PATCH] change errors.Ignore func types to uint32 --- errors/errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/errors/errors.go b/errors/errors.go index 0f959c3..54b2dcd 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -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