Machine:remove field name in config(#6892)

Because our machine name now is the key value of the machine config
dict. And the machine config value will been overwritten by it when the
config is loaded. We can remove the field `name` from the config.
This commit is contained in:
karajan1001
2021-11-18 11:22:13 +08:00
committed by Gao
parent b24a31b834
commit 888b6392bb
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -241,7 +241,6 @@ SCHEMA = {
Lower, Choices("us-west", "us-east", "eu-west", "eu-north")
),
"image": str,
"name": str,
"spot": Bool,
"spot_price": Coerce(float),
"instance_hdd_size": Coerce(int),
@@ -16,7 +16,6 @@ from .conftest import BASIC_CONFIG
[
("region", "us-west"),
("image", "iterative-cml"),
("name", "iterative_test"),
("spot", "True"),
("spot_price", "1.2345"),
("spot_price", "12345"),
@@ -75,7 +74,6 @@ FULL_CONFIG_TEXT = textwrap.dedent(
cloud = aws
region = us-west
image = iterative-cml
name = iterative_test
spot = True
spot_price = 1.2345
instance_hdd_size = 10