Commit e3a38265 authored by Yann KAISER's avatar Yann KAISER

Created the imageSession variable in resource_vm_template

parent cf21e948
...@@ -126,6 +126,7 @@ func resourceVMTemplate() *schema.Resource { ...@@ -126,6 +126,7 @@ func resourceVMTemplate() *schema.Resource {
} }
func resourceVMTemplateCreate(d *schema.ResourceData, m interface{}) error { func resourceVMTemplateCreate(d *schema.ResourceData, m interface{}) error {
imageSession := m.(*Client).ImageSession
err := resourceVMTemplateRead(d, m) err := resourceVMTemplateRead(d, m)
if err != nil { if err != nil {
return err return err
......
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