Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

schema/resource isolator: Allow either 'limit' or 'request' to be empty.#566

Open
yifan-gu wants to merge 1 commit intoappc:masterfrom
yifan-gu:allow_empty_limit_or_request
Open

schema/resource isolator: Allow either 'limit' or 'request' to be empty.#566
yifan-gu wants to merge 1 commit intoappc:masterfrom
yifan-gu:allow_empty_limit_or_request

Conversation

@yifan-gu
Copy link
Contributor

@yifan-gu yifan-gu commented Feb 9, 2016

NewResourceMemoryIsolator/NewResourceCPUIsolator
If 'limit' is empty, 'request' is set to 'limit', vice versa.
If both are empty, then functions return error.

Try to address #562

NewResourceMemoryIsolator/NewResourceCPUIsolator
If 'limit' is empty, 'request' is set to 'limit', vice versa.
If both are empty, then functions return error.
@yifan-gu yifan-gu force-pushed the allow_empty_limit_or_request branch from 3f01135 to 91ee069 Compare February 9, 2016 07:13
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.

1 participant