reuse resourceVmQemuDelete for lxc

This commit is contained in:
Andreas Gruhler 2019-07-06 10:40:30 +02:00
parent 1227a20056
commit c879c4ca2f

View File

@ -11,7 +11,7 @@ func resourceLxc() *schema.Resource {
Create: resourceLxcCreate, Create: resourceLxcCreate,
Read: resourceLxcRead, Read: resourceLxcRead,
Update: resourceLxcUpdate, Update: resourceLxcUpdate,
Delete: resourceLxcDelete, Delete: resourceVmQemuDelete,
Importer: &schema.ResourceImporter{ Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough, State: schema.ImportStatePassthrough,
}, },
@ -562,7 +562,3 @@ func resourceLxcRead(d *schema.ResourceData, meta interface{}) error {
pmParallelEnd(pconf) pmParallelEnd(pconf)
return nil return nil
} }
func resourceLxcDelete(d *schema.ResourceData, meta interface{}) error {
return nil
}