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

[autoscaler] Fix Defaults #1661

Merged
merged 2 commits into from
Mar 10, 2018
Merged

Conversation

richardliaw
Copy link
Contributor

What do these changes do?

Fix issue with autoscaler default.

cc: @stephanie-wang

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/4141/
Test PASSed.

for k in config:
if k not in schema:
raise ValueError(
"Unexpected config key `{}` not in {}".format(
k, list(schema.keys())))
v, kreq = schema[k]
if isinstance(v, type):
if v is None:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we should consider writing a test for validating the remote config generated...

@richardliaw richardliaw merged commit 40799fe into ray-project:master Mar 10, 2018
@richardliaw richardliaw deleted the autofix branch March 10, 2018 01:00
@richardliaw
Copy link
Contributor Author

merging, as test failures seem unrelated

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.

3 participants