We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
operator-sdk/pkg/sdk/api.go
Line 43 in 9314564
operator-sdk/pkg/sdk/informer.go
Line 48 in 9314564
should use time.Duration for resyncPeriod rather than an int that gets multiplied by time.Second in NewInformer method:
time.Second
NewInformer
Line 57 in 9314564
The text was updated successfully, but these errors were encountered:
Say I want to do an operator syncing every hour, my instinct is to write:
resync := 60 * time.Minute
This little oversight will in this case cause the following differences:
=== RUN Test 1 hours 0 minutes 0 seconds 33390 days 2 hours 40 minutes 26 seconds --- PASS: Test (0.00s) PASS
Sorry, something went wrong.
@olvesh Closing this as it's a duplicate of #345
No branches or pull requests
operator-sdk/pkg/sdk/api.go
Line 43 in 9314564
operator-sdk/pkg/sdk/informer.go
Line 48 in 9314564
should use time.Duration for resyncPeriod rather than an int that gets multiplied by
time.Second
inNewInformer
method:operator-sdk/pkg/sdk/informer.go
Line 57 in 9314564
The text was updated successfully, but these errors were encountered: