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

Fix describe locks bug #1156

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Conversation

mumoshu
Copy link
Contributor

@mumoshu mumoshu commented Nov 8, 2024

This reveals and fixes the known bug in describe locks where it treats "myproject-api/prod" as "myproject/api" in describe locks output.

The first commit 272632a refactors the lock manager so that the lock, unlock, and describe locks against the encoded form of the locks info(=configmap data), can be tested without a K8s fake client or a K8s cluster. It also add unit tests and reveals the bug 272632a#diff-58fdb8b585fff39180c0d3e7e736adeccc351c620058e9d921d54704ace96d3cR61-R65.

The second commit c781096 fixes the bug and the test.

Related to #1155

@pirlodog1125 pirlodog1125 merged commit 7e72b34 into kufu-ai:master Nov 11, 2024
4 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.

2 participants