Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

[jRuby] - Allow floating points in quotas #1281

Merged
merged 1 commit into from
Sep 27, 2018
Merged

Conversation

vt0r
Copy link
Member

@vt0r vt0r commented Sep 27, 2018

This is both a minor bug and a minor enhancement. If you pass a float to the script before this change, it does the equivalent of a .floor when doing .to_i. This ensures we can use simpler notation like 9.9T instead of 9900G. @ronny-macmaster is currently testing this on a hardware dev cluster. I'll mark it tested when he finishes.

@macmaster
Copy link
Contributor

I tested this by overriding my personal user quota to 5.5T on a dev cluster.
It worked like a charm.

@macmaster macmaster merged commit 46e2b52 into bloomberg:master Sep 27, 2018
@vt0r vt0r added the Tested label Sep 27, 2018
@vt0r vt0r deleted the i2f branch September 27, 2018 18:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants