Commit 7bf6b39c authored by Yann KAISER's avatar Yann KAISER

Added VM template data source name setting for tests

parent 2b0ec56c
...@@ -60,6 +60,7 @@ func dataSourceVMTemplateRead(d *schema.ResourceData, m interface{}) error { ...@@ -60,6 +60,7 @@ func dataSourceVMTemplateRead(d *schema.ResourceData, m interface{}) error {
} }
d.SetId(strconv.Itoa(vmData.ID)) d.SetId(strconv.Itoa(vmData.ID))
d.Set("name", vmData.Name)
d.Set("cpu", vmData.TemplateContent.CPUCount) d.Set("cpu", vmData.TemplateContent.CPUCount)
d.Set("vcpu", vmData.TemplateContent.VcpuCount) d.Set("vcpu", vmData.TemplateContent.VcpuCount)
d.Set("memory", vmData.TemplateContent.Memory) d.Set("memory", vmData.TemplateContent.Memory)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment