-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
bugzilla/severity-highReferenced Bugzilla bug's severity is high for the branch this PR is targeting.Referenced Bugzilla bug's severity is high for the branch this PR is targeting.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Bug Report
What did you do?
create api
generates a wrongly named Java class. The generated class name is still {{.ClassName}}Controller
while the code has been changed to name the class {{.ClassName}}Reconciler
.
What did you expect to see?
Generated code should compile.
What did you see instead? Under which circumstances?
Generated code doesn't compile because you must define a Java class in a file named after the class that it encloses.
Environment
Operator type:
Kubernetes cluster type:
$ operator-sdk version
$ java -version
(if language is Java)
$ kubectl version
Possible Solution
Additional context
Metadata
Metadata
Assignees
Labels
bugzilla/severity-highReferenced Bugzilla bug's severity is high for the branch this PR is targeting.Referenced Bugzilla bug's severity is high for the branch this PR is targeting.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.