-
Notifications
You must be signed in to change notification settings - Fork 32
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
status.lastUnpacked
is being updated on every pull attempt
#389
Comments
I think the issue is that we set catalogd/internal/source/image_registry_client.go Lines 80 to 88 in 4323184
Despite the fact that we just return the content we already had. We probably should set it to "now" here only here. |
Possibly related: #379 |
I don't think #379 is related: so far it does not seem to fix this bug. In additional to my my previous I suspect that From the unit tests it seems like the expected behaviour is that when we the spec has an image such as We have test cases for both digest and tag image refs, but the test is very complex with a lot of parameters. I suspect that something went wrong with the test because it shows green. |
Ok, the above seems to be a separate bug. Reported: #392 This probably needs to be fixed before this one. |
It seems like
.status.lastUnpacked
is being updated on every poll attempt even when the content of the catalog hasn't changed.Steps to reproduce
Result
Expected result
.status.lastUnpacked
and.status.resolvedSource.image.lastUnpacked
should stay the same as long as the content of the catalog is the same.The text was updated successfully, but these errors were encountered: