- 
                Notifications
    You must be signed in to change notification settings 
- Fork 180
Adds logic to the reconcile function to handle the optional infinite requeue (Issue #826) #23
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 all commits
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 | 
|---|---|---|
|  | @@ -70,6 +70,7 @@ type AWSResourceManager interface { | |
|  | ||
| // AWSResourceManagerFactory returns an AWSResourceManager that can be used to | ||
| // manage AWS resources for a particular AWS account | ||
| // TODO(jaypipes): Move AWSResourceManagerFactory into its own file | ||
| 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. haha! :) nice. | ||
| type AWSResourceManagerFactory interface { | ||
| // ResourceDescriptor returns an AWSResourceDescriptor that can be used by | ||
| // the upstream controller-runtime to introspect the CRs that the resource | ||
|  | @@ -89,4 +90,7 @@ type AWSResourceManagerFactory interface { | |
| ) (AWSResourceManager, error) | ||
| // IsAdoptable returns true if the resource is able to be adopted | ||
| IsAdoptable() bool | ||
| // RequeueOnSuccessSeconds returns true if the resource should be requeued after specified seconds | ||
| 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. godoc is out of date. Please fix it and everything else looks very good. 💯 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. @vijtrip2 I'll fix on a followup (handling the TODO above) :) 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. Thanks Jay. | ||
| // Default is false which means resource will not be requeued after success. | ||
| RequeueOnSuccessSeconds() int | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaypipes isn't it better to pass the debug message on line #286 to requeue instead of nil?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@surajkota the
nilin theNeededAfteris for an error. There is no error here.