Fix typo in baymodel param
A param for the coe in baymodel currently reads 'mondatory', it should be 'mandatory'. Closes-Bug: #1605705 Change-Id: I519a7c4cc56d5c53ecaccaed07dfad774b4c4900
This commit is contained in:
parent
6c265ce10a
commit
ee201a9307
|
@ -56,7 +56,7 @@ class BayModel(base.APIBase):
|
|||
name = wtypes.StringType(min_length=1, max_length=255)
|
||||
"""The name of the bay model"""
|
||||
|
||||
coe = wtypes.Enum(str, *fields.BayType.ALL, mondatory=True)
|
||||
coe = wtypes.Enum(str, *fields.BayType.ALL, mandatory=True)
|
||||
"""The Container Orchestration Engine for this bay model"""
|
||||
|
||||
image_id = wsme.wsattr(wtypes.StringType(min_length=1, max_length=255),
|
||||
|
|
|
@ -528,7 +528,7 @@ class TestPost(api_base.FunctionalTest):
|
|||
"dns_nameserver", "keypair_id", "external_network_id",
|
||||
"cluster_distro", "fixed_network", "apiserver_port",
|
||||
"docker_volume_size", "labels", "http_proxy", "https_proxy",
|
||||
"no_proxy", "network_driver", "volume_driver"]
|
||||
"no_proxy", "network_driver", "volume_driver", "coe"]
|
||||
for field in fields:
|
||||
self._create_baymodel_raises_app_error(**{field: ''})
|
||||
|
||||
|
|
Loading…
Reference in New Issue