mirror of https://github.com/apache/cloudstack.git
CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change)
This commit is contained in:
parent
b3c88f7594
commit
45eb035e20
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue