Skip to content
Browse files

Edited scaling_functions.php via GitHub

  • Loading branch information...
1 parent d6a38a5 commit 2c6e17fd34af81fb2ef80f5d7591e11a6ca0cc36 Brian Swan committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scaling_functions.php
View
2 scaling_functions.php
@@ -47,7 +47,7 @@ function scale_check($metrics) {
function get_num_instances($instances, $role_name) {
$count = 0;
foreach($instances as $instance) {
- if ($instance['rolename'] == $role_name) // && $instance['instancestatus'] == 'Ready') //this logic isn't working
+ if ($instance['rolename'] == $role_name)
$count++;
}
return $count;

0 comments on commit 2c6e17f

Please sign in to comment.
Something went wrong with that request. Please try again.