Skip to content

Commit

Permalink
Merge pull request #36 from jereksel/either_clone_or_iso
Browse files Browse the repository at this point in the history
Show message when neither clone nor iso is set
  • Loading branch information
ggongaware committed Jan 14, 2019
2 parents 414c2fc + 47ddee5 commit 17bf67c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 17bf67c

Please sign in to comment.