do not show ec2-run command for instances already up
authorTom Clegg <tom@clinicalfuture.com>
Fri, 11 Jan 2013 21:54:59 +0000 (13:54 -0800)
committerTom Clegg <tom@clinicalfuture.com>
Fri, 11 Jan 2013 21:54:59 +0000 (13:54 -0800)
app/views/nodes/index.html.erb

index 6f49e920369bc5128572cf16f6d7c6cc16a0ece9..34480ce24fc295e5bd8e00ba4baf84059d35b5d8 100644 (file)
@@ -43,7 +43,7 @@
     </td>
   </tr>
 
-  <% if o.info[:ec2_start_command] and (!o.first_ping_at or !o.info[:ec2_start_result].match /\bi-[0-9a-f]{8}\b/ rescue nil) %>
+  <% if o.info[:ec2_start_command] and !o.first_ping_at %>
   <tr>
     <td colspan="8">
       <%= o.info[:ec2_start_command] %>