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

Revert NewCache function signature to return an error #190

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

elezar
Copy link
Contributor

@elezar elezar commented Jan 23, 2024

This change reverts the NewCache function signature to also return an error. This was removed in #188 but does break clients such as moby using the NewCache API.

Instead, a private function is added that returns no error and this is used internally and in tests.

This change reverts the NewCache function signature to also return an
error. This was removed in cncf-tags#188 but does break clients such as
moby using the NewCache API.

Instead, a private function is added that returns no error and this is
used internally and in tests.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar requested a review from marquiz January 23, 2024 15:48
@elezar elezar self-assigned this Jan 23, 2024
@elezar elezar requested a review from klihub January 23, 2024 15:48
Copy link
Contributor

@klihub klihub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@marquiz marquiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@klihub klihub merged commit 7b540ad into cncf-tags:main Jan 24, 2024
7 checks passed
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.

3 participants