Fix AWS autoscaler typos

This commit is contained in:
allegroai 2020-10-12 11:01:08 +03:00
parent 79df2be26c
commit 89034233ed
2 changed files with 5 additions and 5 deletions

View File

@ -99,8 +99,8 @@ def run_wizard():
)
hyper_params.cloud_credentials_region = get_input(
"AWS region name",
"[us-east-1b]",
default='us-east-1b')
"[us-east-1]",
default='us-east-1')
# get GIT User/Pass for cloning
print(
"\nGIT credentials:"
@ -211,7 +211,7 @@ def run_wizard():
if k not in (q[0] for q in queues[queue_name])]
while True:
queue_type = get_input(
"a instance type to attach to the queue",
"an instance type to attach to the queue",
"{}".format(valid_instances),
question="Select",
required=True,

View File

@ -82,8 +82,8 @@ class AwsAutoScaler(AutoScaler):
access_key=self.access_key,
secret_key=self.secret_key,
queue=queue_name,
git_user=self.git_user,
git_pass=self.git_pass,
git_user=self.git_user or "",
git_pass=self.git_pass or "",
trains_conf=self.extra_trains_conf,
bash_script=self.extra_vm_bash_script,
docker="--docker '{}'".format(self.default_docker_image)