Skip to content
Snippets Groups Projects
Commit 93d91801 authored by Yas Naoi's avatar Yas Naoi
Browse files

Fixed to display security groups in instance detail page (minor).

parent 775f93e2
No related branches found
No related tags found
No related merge requests found
...@@ -919,7 +919,7 @@ function aws_cloud_display_instance_info($form_submit = '', $form_state, $cloud_ ...@@ -919,7 +919,7 @@ function aws_cloud_display_instance_info($form_submit = '', $form_state, $cloud_
//find the name mapping //find the name mapping
$group_name = _aws_cloud_get_security_group_name_by_id($cloud_context, $sg_item); $group_name = _aws_cloud_get_security_group_name_by_id($cloud_context, $sg_item);
if ($group_name != FALSE) { if ($group_name != FALSE) {
$sg_link_arr .= l( $group_name, $cloud_menu_path . '/security_groups/describe', array('query' => array('group_name' => $group_name)) ) . ' ,'; $sg_link_arr .= l( $group_name, $cloud_menu_path . '/security_groups/describe', array('query' => array('group_name' => $group_name)) ) . ', ';
} }
} }
$sg_link_arr = substr( $sg_link_arr, 0, -1 ); $sg_link_arr = substr( $sg_link_arr, 0, -1 );
...@@ -2181,3 +2181,4 @@ function _aws_cloud_set_lock_status($cloud_context, $instance_id, $status_lock) ...@@ -2181,3 +2181,4 @@ function _aws_cloud_set_lock_status($cloud_context, $instance_id, $status_lock)
return $lock_record_exists; return $lock_record_exists;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment