Commit 72a2f04b authored by Leo Gordon's avatar Leo Gordon
Browse files

no need for the variable

parent aa0a287a
......@@ -168,8 +168,7 @@ sub get_running_worker_count {
sub update {
my ($self, $stats) = @_;
my $running_worker_count = $self->get_running_worker_count($stats);
$stats->num_running_workers($running_worker_count);
$stats->num_running_workers( $self->get_running_worker_count($stats) );
my $hive_capacity = $stats->hive_capacity;
if ($stats->behaviour eq "DYNAMIC") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment