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

Add a Squid::Size type #112

Merged
merged 1 commit into from
Dec 10, 2018
Merged

Add a Squid::Size type #112

merged 1 commit into from
Dec 10, 2018

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 30, 2018

This type correctly checks the type for sizes. It now allows specifying the maximum_object_size_in_memory in MBs rather than KBs. For correctness we now also check for the full string which means we no longer allow -1 KB or 1 KBB.

@bastelfreak
Copy link
Member

@ekohl can you take a look at the rubocop errors?

This type correctly checks the type for sizes. It now allows specifying
the maximum_object_size_in_memory in MBs rather than KBs. For
correctness we now also check for the full string which means we no
longer allow -1 KB or 1 KBB.
@ekohl
Copy link
Member Author

ekohl commented Dec 2, 2018

That was a legitimate mistake where I copied an example but didn't modify the result, fixed.

@ekohl ekohl removed the tests-fail label Dec 2, 2018
@traylenator
Copy link
Contributor

Restarted failed test....

@ekohl
Copy link
Member Author

ekohl commented Dec 10, 2018

💚 now

@traylenator traylenator merged commit 3d176fe into voxpupuli:master Dec 10, 2018
@ekohl ekohl deleted the size-type branch December 10, 2018 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants