The correct file name should be used in the comments of [kind]_types.go
#1925
Labels
kind/bug
Categorizes issue or PR as related to a bug.
[kind]_types.go
#1925
What broke (please include exact error messages if you can)
When we use
$ kubebuilder create api
, it generates a file like[kind]_types.go
. In this file, there is a comment that indicates which file to change when adding a field.However, the file name in the comment is different from the generated file name. This difference can confuse people.
The example is shown below.
In the above example,
Guestbook_types.go
is written in a comment. This is different from the correct file nameguestbook_types.go
.What did you expect to happen? What do you think went wrong?
A comment should use a correct file name. In the above example,
guestbook_types.go
should be used.What versions of software are you using?
/kind bug
The text was updated successfully, but these errors were encountered: