Skip to content

Commit

Permalink
fixed an accidentally committed typo and removed debug statement
Browse files Browse the repository at this point in the history
- Removed leftover tree related file.
h-kataria committed Dec 30, 2020
1 parent a3f065f commit 1e55563
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion app/controllers/miq_policy_set_controller.rb
Original file line number Diff line number Diff line change
@@ -84,7 +84,6 @@ def profile_save_add
add_flash(_("Policy Profile must contain at least one Policy"), :error) if @edit[:new][:policies].length.zero? # At least one member is required

profile = params[:id].blank? ? MiqPolicySet.new : MiqPolicySet.find_by(:id => params[:id]) # Get new or existing record
p "XXXX #{@edit.inspect}"
profile.description = @edit[:new][:description]
profile.notes = @edit[:new][:notes]
if profile.valid? && !@flash_array && profile.save
2 changes: 1 addition & 1 deletion app/helpers/application_helper/toolbar_chooser.rb
Original file line number Diff line number Diff line change
@@ -468,7 +468,7 @@ def center_toolbar_filename_classic
container_build
infra_networking
infra_topology
ems_storagem
ems_storage
container_topology
cloud_topology
orchestration_stack
5 changes: 0 additions & 5 deletions app/presenters/tree_node/miq_policy_set.rb

This file was deleted.

0 comments on commit 1e55563

Please sign in to comment.