mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-07-03 08:02:39 +00:00
Show message when neither clone nor iso is set
This commit is contained in:
parent
414c2fc749
commit
47ddee58b5
|
@ -421,6 +421,8 @@ func resourceVmQemuCreate(d *schema.ResourceData, meta interface{}) error {
|
||||||
pmParallelEnd(pconf)
|
pmParallelEnd(pconf)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
return fmt.Errorf("Either clone or iso must be set")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.Printf("[DEBUG] recycling VM vmId: %d", vmr.VmId())
|
log.Printf("[DEBUG] recycling VM vmId: %d", vmr.VmId())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user