there is more than one routing template now (VMWare has its own) so change the listVolumes filter to remove volumes for routing* templates

This commit is contained in:
Kris McQueen 2010-10-19 10:40:46 -07:00
parent 743f58fb0c
commit 68eb09114a
1 changed files with 1 additions and 1 deletions

View File

@ -4259,7 +4259,7 @@ public class ManagementServerImpl implements ManagementServer {
for(VolumeVO v:allVolumes)
{
VMTemplateVO template = _templateDao.findById(v.getTemplateId());
if(template!=null && template.getUniqueName().equalsIgnoreCase("routing"))
if(template!=null && template.getUniqueName().startsWith("routing"))
{
//do nothing
}