From 05914c304c19eb9003b8e365d06f13e15e5728e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Budzy=C5=84ski?= Date: Tue, 17 Dec 2024 00:08:40 +0100 Subject: [PATCH] self rev --- pkg/sdk/poc/generator/resource_helper_methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sdk/poc/generator/resource_helper_methods.go b/pkg/sdk/poc/generator/resource_helper_methods.go index 4fc8d66b75..dd66de9446 100644 --- a/pkg/sdk/poc/generator/resource_helper_methods.go +++ b/pkg/sdk/poc/generator/resource_helper_methods.go @@ -75,7 +75,7 @@ func containsFieldNames(fields []*Field, names ...string) bool { } for _, name := range names { - if !slices.Contains(names, name) { + if !slices.Contains(fieldNames, name) { return false } }