This commit is contained in:
2022-09-08 12:20:12 +00:00
committed by Пётр Крутов
parent 294550f5ce
commit 8fc9170c9c
3 changed files with 9 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ func resourceImageCreate(ctx context.Context, d *schema.ResourceData, m interfac
urlValues.Add("url", d.Get("url").(string))
urlValues.Add("gid", strconv.Itoa(d.Get("gid").(int)))
urlValues.Add("boottype", d.Get("boot_type").(string))
urlValues.Add("imagetype", d.Get("image_type").(string))
urlValues.Add("imagetype", d.Get("type").(string))
tstr := d.Get("drivers").([]interface{})
temp := ""