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