CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change)

This commit is contained in:
Pranav Saxena 2012-08-20 11:54:52 +05:30
parent b3c88f7594
commit 45eb035e20
1 changed files with 2 additions and 2 deletions

View File

@ -2206,10 +2206,10 @@
function(instance) {
// Hiding the AutoScale VMs
var nonAutoScale=0;
if( instance.name.match(/AutoScale-LB-/)==null)
if( instance.displayname.match(/AutoScale-LB-/)==null)
nonAutoScale =1;
else {
if(instance.name.match(/AutoScale-LB-/).length)
if(instance.displayname.match(/AutoScale-LB-/).length)
nonAutoScale =0;
}
var isActiveState = $.inArray(instance.state, ['Destroyed']) == -1;