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

Handle period's zero value in token store's token creation #3880

Merged
merged 3 commits into from
Feb 1, 2018

Conversation

calvn
Copy link
Contributor

@calvn calvn commented Jan 31, 2018

I went with fixing this in core instead of patching at the CLI level. This guards against future edge cases where period's zero value might be passed outside of the CLI. We don't have to remember to not pass a period if we can correctly handle its zero value.

Fixes #3874

@calvn calvn requested review from jefferai and vishalnayak January 31, 2018 18:15
@calvn calvn added this to the 0.9.4 milestone Jan 31, 2018
Copy link
Member

@vishalnayak vishalnayak left a comment

Choose a reason for hiding this comment

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

LGTM!

@calvn calvn merged commit 75ed6b9 into master Feb 1, 2018
@calvn calvn deleted the period-zero-val branch February 1, 2018 17:01
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.

Token create command forces creating periodic token
3 participants