Skip to content
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

Properly return ErrCompacted/ErrFutureRev for get/list #231

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

brandond
Copy link
Member

Always send ErrCompacted when getting/listing compacted revisions; ignoring it for get by revision is not correct.
Always send ErrFutureRev when getting/listing future revisions; pretending that the requested revision is the current revision is not correct.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond requested a review from a team as a code owner October 27, 2023 03:51
@brandond brandond merged commit 048b0e7 into k3s-io:master Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants