Skip to content

Commit 8ae5c74

Browse files
author
Chris Townsend
committed
[lxd] Remove deleting the LXD VM in the factory
This is handled in the LXDVMImageVault as it's handled in the DefaultVMImageVault for the other backends.
1 parent 549944d commit 8ae5c74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/platform/backends/lxd/lxd_virtual_machine_factory.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ mp::VirtualMachine::UPtr mp::LXDVirtualMachineFactory::create_virtual_machine(co
4646

4747
void mp::LXDVirtualMachineFactory::remove_resources_for(const std::string& name)
4848
{
49-
lxd_request(manager.get(), "DELETE",
50-
QUrl(QString("%1/virtual-machines/%2").arg(base_url.toString()).arg(name.c_str())));
5149
}
5250

5351
mp::FetchType mp::LXDVirtualMachineFactory::fetch_type()

0 commit comments

Comments
 (0)