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

Fix strategy definition #383

Merged
merged 2 commits into from
Aug 30, 2020
Merged

Fix strategy definition #383

merged 2 commits into from
Aug 30, 2020

Conversation

wilko77
Copy link
Collaborator

@wilko77 wilko77 commented Aug 28, 2020

the way the strategy was defined in the schema, one could specify
"strategy": {"bitsPerToken": "illegalValue"}
and the validation would not complain.
This PR fixes the definition of strategy in the schema.

@wilko77 wilko77 requested a review from joyceyuu August 28, 2020 05:24
@codecov
Copy link

codecov bot commented Aug 28, 2020

Codecov Report

Merging #383 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #383   +/-   ##
=======================================
  Coverage   94.65%   94.65%           
=======================================
  Files          12       12           
  Lines         936      936           
=======================================
  Hits          886      886           
  Misses         50       50           

Copy link
Contributor

@joyceyuu joyceyuu left a comment

Choose a reason for hiding this comment

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

Good catch!

@wilko77 wilko77 merged commit 9c9afcf into master Aug 30, 2020
@wilko77 wilko77 deleted the fix_strategy_definition branch August 30, 2020 23:27
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.

2 participants