Skip to content

Commit 07c0904

Browse files
Update resource.go
1 parent 285b0bc commit 07c0904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scaffold/v1/resource/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (r *Resource) Validate() error {
7575
"version must match ^v\\d+(alpha\\d+|beta\\d+)?$ (was %s)", r.Version)
7676
}
7777
if r.Kind != flect.Pascalize(r.Kind) {
78-
return fmt.Errorf("kind must be camelcase (expected %s was %s)", flect.Pascalize(r.Kind), r.Kind)
78+
return fmt.Errorf("kind must be PascalCase (expected %s was %s)", flect.Pascalize(r.Kind), r.Kind)
7979
}
8080

8181
return nil

0 commit comments

Comments
 (0)