Permalink
Browse files

fix list of pending requests

  • Loading branch information...
1 parent ec45a15 commit 059c2ca33b3e31267ec0e385b2c5aeabb0099478 @lstein lstein committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/gbrowse_launch_aws_slaves.pl
@@ -117,7 +117,7 @@ sub adjust_spot_requests {
my $instance = $sr->instance;
if ($state eq 'open' or ($instance && $instance->instanceState =~ /running|pending/)) {
$instance->add_tag(GBrowseMaster => $instanceId) if $instance; # we'll use this to terminate all slaves sometime later
- push @potential_instances,$instance || $state;
+ push @potential_instances,$instance || $sr;
}
}

0 comments on commit 059c2ca

Please sign in to comment.