mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-07-03 08:02:39 +00:00
reuse resourceVmQemuDelete for lxc
This commit is contained in:
parent
1227a20056
commit
c879c4ca2f
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user