-
Notifications
You must be signed in to change notification settings - Fork 225
Controller name as finalizer by default #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
6361e50
efeb4b2
b160d45
59345b6
e3f343b
40f19f5
a8d8e6c
50808bf
9755f8d
25755c5
f188c1f
85c09bc
46af13e
19e7117
cf719fd
a893994
7259cb7
2b5ef83
fe4ef59
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,10 @@ public interface ResourceController<R extends CustomResource> { | |
*/ | ||
UpdateControl<R> createOrUpdateResource(R resource, Context<R> context); | ||
|
||
// What about we let developer to set the finalizer Name through overriding | ||
// this method rather than setting it as attribute in annotation? | ||
default String getDefaultFinalizerName() { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Several places in the code finalizer references are named There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree.. sounds like we're calling everything defaultFinalizer even though we just mean the finalizer. This is actually confusing as there a thing called the default finalizer name. @csviri can you confirm we're seeing this right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I renamed the default finalizer to finalizer or similar everywhere in docs, logs and code for now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @psycho-ir looks good, yep it jus tfinalizer in most of the cases not default finalizer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, I have removed this method already. |
||
return this.getClass().getCanonicalName(); | ||
} | ||
|
||
} |
Uh oh!
There was an error while loading. Please reload this page.