From 884a7b7afa548eea77293451bd012d262d95f2c8 Mon Sep 17 00:00:00 2001 From: Forest Eckhardt Date: Mon, 26 Aug 2024 15:21:47 +0000 Subject: [PATCH] Update to fix linter --- sbom/internal/formats/common/property_encoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbom/internal/formats/common/property_encoder.go b/sbom/internal/formats/common/property_encoder.go index ac64c8cd..2cdd7c30 100644 --- a/sbom/internal/formats/common/property_encoder.go +++ b/sbom/internal/formats/common/property_encoder.go @@ -158,7 +158,7 @@ func Decode(typ reflect.Type, values map[string]string, prefix string, fn FieldN isSlice := false if typ.Kind() == reflect.Slice { - typ = reflect.PtrTo(typ) + typ = reflect.PointerTo(typ) isSlice = true }