Change disk size config parameter name
This commit is contained in:
parent
04b57b3e32
commit
65cd5bbd29
|
@ -61,7 +61,7 @@ type diskConfig struct {
|
|||
Type string `mapstructure:"type"`
|
||||
StoragePool string `mapstructure:"storage_pool"`
|
||||
StoragePoolType string `mapstructure:"storage_pool_type"`
|
||||
Size string `mapstructure:"size"`
|
||||
Size string `mapstructure:"disk_size"`
|
||||
CacheMode string `mapstructure:"cache_mode"`
|
||||
DiskFormat string `mapstructure:"format"`
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ func TestBasicExampleFromDocsIsValid(t *testing.T) {
|
|||
"disks": [
|
||||
{
|
||||
"type": "scsi",
|
||||
"size": "5G",
|
||||
"disk_size": "5G",
|
||||
"storage_pool": "local-lvm",
|
||||
"storage_pool_type": "lvm"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue