From 79a310aa6e06ce2555c4ed1742bfa7a2843a336b Mon Sep 17 00:00:00 2001 From: cpanato Date: Sun, 5 Jun 2022 14:42:34 +0200 Subject: [PATCH] update codegen Signed-off-by: cpanato --- .../hashicorp/go-secure-stdlib/parseutil/parseutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/parseutil/parseutil.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/parseutil/parseutil.go index b3a932eb12e..e469499bdcd 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/parseutil/parseutil.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/parseutil/parseutil.go @@ -493,7 +493,7 @@ func SafeParseIntSlice(in interface{}, elements int) ([]int, error) { return nil, err } - var result = make([]int, len(raw)) + var result = make([]int, 0, len(raw)) for _, element := range raw { result = append(result, int(element)) }