mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #329 from xenserver/GaborApatiNagy-patch-1
CA-161000: XenCenter: Snapshot with containers appears in the tree view
This commit is contained in:
commit
3d418ee412
@ -251,7 +251,7 @@ namespace XenAdmin.Model
|
||||
public static ComparableList<DockerContainer> GetDockerVMs(IXenObject o)
|
||||
{
|
||||
var vm = o as VM;
|
||||
if (vm != null)
|
||||
if (vm != null && vm.is_a_real_vm)
|
||||
{
|
||||
return new ComparableList<DockerContainer>(DockerContainers.GetContainersFromOtherConfig(vm));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user