This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/views/compute_resources_vms/index/_vmware.html.erb b/app/views/compute_resources_vms/index/_vmware.html.erb | |
index 2d6177a..0a04b39 100644 | |
--- a/app/views/compute_resources_vms/index/_vmware.html.erb | |
+++ b/app/views/compute_resources_vms/index/_vmware.html.erb | |
@@ -12,7 +12,7 @@ | |
<tbody> | |
<% @vms.each do |vm| -%> | |
<tr> | |
- <td><%= link_to_if_authorized vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity) %></td> | |
+ <td><%= link_to_if_authorized vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity) rescue raise("vm: #{vm.name} (#{vm.identity}, #{vm.send(:raw)})") %></td> | |
<td><%= vm.path %></td> | |
<td><%= vm.cpus %></td> | |
<td> <%= number_to_human_size vm.memory %></td> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment