Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

use i64 for lease ttl and LeaseId type for ttl request #81

Merged
merged 1 commit into from Nov 16, 2022

Conversation

jamesbirtles
Copy link
Contributor

The TTL was being cast to u64, but it really should be an i64. When the lease is expired the ttl on a LeaseTimeToLiveRequest is returned as -1 for example.

Also changed the LeaseTimeToLiveRequest to use the LeaseId type instead of u64.

Copy link
Owner

@zarvd zarvd left a comment

Choose a reason for hiding this comment

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

LGTM

@zarvd zarvd merged commit 0d233fc into zarvd:master Nov 16, 2022
@jamesbirtles jamesbirtles deleted the lease_ttl branch November 16, 2022 11:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants