@@ -158,33 +158,33 @@ func (sp *Sample) updateSpec() {
158158
159159/*
160160 */` )
161- hackutils .CheckError ("fixing cronjob_types.go" , err )
161+ hackutils .CheckError ("fixing collapse for cronjob_types.go" , err )
162162
163163 err = pluginutil .InsertCode (
164164 filepath .Join (sp .ctx .Dir , "api/v1/cronjob_types.go" ),
165165 `package v1` ,
166166 `
167167/*
168168 */` )
169- hackutils .CheckError ("fixing cronjob_types.go" , err )
169+ hackutils .CheckError ("fixing package for cronjob_types.go" , err )
170170
171171 err = pluginutil .InsertCode (
172172 filepath .Join (sp .ctx .Dir , "api/v1/cronjob_types.go" ),
173173 `import (` ,
174174 `
175175 batchv1 "k8s.io/api/batch/v1"
176176 corev1 "k8s.io/api/core/v1"` )
177- hackutils .CheckError ("fixing cronjob_types.go" , err )
177+ hackutils .CheckError ("fixing imports for cronjob_types.go" , err )
178178
179179 err = pluginutil .InsertCode (
180180 filepath .Join (sp .ctx .Dir , "api/v1/cronjob_types.go" ),
181181 `to be serialized.` , cronjobSpecExplaination )
182- hackutils .CheckError ("fixing cronjob_types.go" , err )
182+ hackutils .CheckError ("fixing spec explanation for cronjob_types.go" , err )
183183
184184 err = pluginutil .InsertCode (
185185 filepath .Join (sp .ctx .Dir , "api/v1/cronjob_types.go" ),
186186 `type CronJobSpec struct {` , cronjobSpecStruct )
187- hackutils .CheckError ("fixing cronjob_types.go" , err )
187+ hackutils .CheckError ("fixing spec struct for cronjob_types.go" , err )
188188
189189 err = pluginutil .ReplaceInFile (
190190 filepath .Join (sp .ctx .Dir , "api/v1/cronjob_types.go" ),
@@ -205,7 +205,7 @@ func (sp *Sample) updateSpec() {
205205 `SchemeBuilder.Register(&CronJob{}, &CronJobList{})
206206}` , `
207207// +kubebuilder:docs-gen:collapse=Root Object Definitions` )
208- hackutils .CheckError ("fixing cronjob_types.go" , err )
208+ hackutils .CheckError ("fixing builder for cronjob_types.go" , err )
209209
210210 err = pluginutil .ReplaceInFile (
211211 filepath .Join (sp .ctx .Dir , "api/v1/cronjob_types.go" ),
@@ -214,7 +214,7 @@ type CronJob struct {`, `// CronJob is the Schema for the cronjobs API.
214214type CronJob struct {` + `
215215 /*
216216 */` )
217- hackutils .CheckError ("fixing cronjob_types.go" , err )
217+ hackutils .CheckError ("fixing schema for cronjob_types.go" , err )
218218
219219 // fix lint
220220 err = pluginutil .ReplaceInFile (
0 commit comments