Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wrong generated class name #72

Closed
Assignees
metacosm
Labels
bugzilla/severity-highReferenced Bugzilla bug's severity is high for the branch this PR is targeting.kind/bugCategorizes issue or PR as related to a bug.
@metacosm

Description

@metacosm

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.kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp