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:
Mihaela Stoica 2015-02-12 15:25:32 +00:00
commit 3d418ee412

View File

@ -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));
}