forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvstore: replace custom createOpPut method with upstream client.OpPut
The client.WithLease(0) option is a no op, because 0 is the default value for the LeaseID. Hence, let's get rid of the custom createOpPut method, and always use client.OpPut regardless of whether a lease is set. This brings also consistency with the other Put operations. Signed-off-by: Marco Iorio <[email protected]>
- Loading branch information
Showing
1 changed file
with
4 additions
and
14 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