Support volumes handling
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed

This commit is contained in:
Luke Murphy
2021-01-06 11:18:53 +01:00
parent 5efff53088
commit d57f80a496
8 changed files with 171 additions and 29 deletions

View File

@ -10,7 +10,7 @@ def _model_platform_hetznercloud_section_data():
{
"name": "instance",
"server_type": "",
"volumes": [""],
"volumes": {},
"image": "",
"location": "",
"datacenter": "",
@ -35,7 +35,7 @@ def _model_platforms_hetznercloud_errors_section_data():
{
"name": 0,
"server_type": 0,
"volumes": {},
"volumes": [],
"image": 0,
"location": 0,
"datacenter": 0,
@ -57,7 +57,7 @@ def test_platforms_hetznercloud_has_errors(_config):
{
"name": ["must be of string type"],
"server_type": ["must be of string type"],
"volumes": ["must be of list type"],
"volumes": ["must be of dict type"],
"image": ["must be of string type"],
"location": ["must be of string type"],
"datacenter": ["must be of string type"],