-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: Allow nil when checking for empty lease.
Treat nil lease as empty when checking for empty lease. Recent changes in #66374 as well as in #74315 changed how lease is stored as well as modified receiver type. As a result, attempts to print empty `EvictionToken{}` will result in a nil panic. Release Notes: None
- Loading branch information
Yevgeniy Miretskiy
committed
Jan 6, 2022
1 parent
68e805a
commit a5787e8
Showing
2 changed files
with
2 additions
and
2 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