forked from docker/libkv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etcd: remove mutex side keys from results in
List
This PR completes the work done on aligning the results returned by `List` by filtering `*_lock` keys from the results. Additionally, we test for this case for both etcd v2 and etcd v3 and we change the lock suffix to be `___lock` instead of `_lock` to avoid collision with similar key names following the pattern of using a simple underscore (might brake backward compatibility of `List` results for client the using master version of libkv). Signed-off-by: Alexandre Beslic <abeslic@abronan.com>
- Loading branch information
Showing
5 changed files
with
65 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters