mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
* AWS: support multiple availability zones (fix #2177) * Bugfix: [] rather than () * Test config * Test config tweaks * Remove test config * Formatting fixes * Update YAML config
This commit is contained in:
@@ -8,7 +8,7 @@ import os
|
||||
|
||||
def env_integer(key, default):
|
||||
if key in os.environ:
|
||||
return int(os.environ(key))
|
||||
return int(os.environ[key])
|
||||
return default
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user