From 7444e056f7c1d5722145350528f3b2d8a33676d1 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Mon, 13 Nov 2017 14:27:53 -0700 Subject: [PATCH] Change ObjectMeta to ListMeta --- generator/controller_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/controller_template.go b/generator/controller_template.go index 6cdca71e2..d61ecdb52 100644 --- a/generator/controller_template.go +++ b/generator/controller_template.go @@ -33,7 +33,7 @@ var ( type {{.schema.CodeName}}List struct { metav1.TypeMeta %BACK%json:",inline"%BACK% - metav1.ObjectMeta %BACK%json:"metadata,omitempty"%BACK% + metav1.ListMeta %BACK%json:"metadata,omitempty"%BACK% Items []{{.schema.CodeName}} }