Fixup volume creation functionality
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Luke Murphy
2021-01-06 15:21:42 +01:00
parent 5fd3f5ca94
commit 1423840fba
6 changed files with 34 additions and 31 deletions

View File

@ -10,7 +10,7 @@ def _model_platform_hetznercloud_section_data():
{
"name": "instance",
"server_type": "",
"volumes": {},
"volumes": [],
"image": "",
"location": "",
"datacenter": "",
@ -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 dict type"],
"volumes": ["must be of list type"],
"image": ["must be of string type"],
"location": ["must be of string type"],
"datacenter": ["must be of string type"],