From 095fc420337258fce3fd7a7945a0165d1f5b3e02 Mon Sep 17 00:00:00 2001 From: Jacob Bohanon Date: Tue, 28 May 2024 10:04:33 -0400 Subject: [PATCH] closing backtick --- pkg/code-generator/codegen/templates/snapshot_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/code-generator/codegen/templates/snapshot_template.go b/pkg/code-generator/codegen/templates/snapshot_template.go index 0210c3191..c4d6378e0 100644 --- a/pkg/code-generator/codegen/templates/snapshot_template.go +++ b/pkg/code-generator/codegen/templates/snapshot_template.go @@ -31,7 +31,7 @@ var _ json.Marshaler = new({{ .GoName }}Snapshot) type {{ .GoName }}Snapshot struct { {{- range .Resources}} - {{ upper_camel .PluralName }} {{ .ImportPrefix }}{{ .Name }}List ` + backtick + `json:"{{ lower_camel .PluralName }}" + {{ upper_camel .PluralName }} {{ .ImportPrefix }}{{ .Name }}List ` + backtick + `json:"{{ lower_camel .PluralName }}"` + backtick + ` {{- end}} }