Skip to content

Commit

Permalink
Merge pull request #1180 from yaacov/tags-correct-format
Browse files Browse the repository at this point in the history
Fix tags format
(cherry picked from commit cadbf73)

https://bugzilla.redhat.com/show_bug.cgi?id=1446775
  • Loading branch information
martinpovolny authored and simaishi committed Apr 28, 2017
1 parent 665cdc8 commit 7e8cf4b
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 36 deletions.
4 changes: 1 addition & 3 deletions app/helpers/container_build_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

def textual_group_build_instances
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_group_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ def textual_group_conditions
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

@@key_dictionary = [
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

#
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_image_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def textual_group_configuration
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

def textual_group_openscap_failed_rules
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualGroup.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

#
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_node_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ def textual_group_conditions
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualGroup.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

#
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_project_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

def textual_group_quota
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_replicator_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

#
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_route_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualGroup.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

#
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_service_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualGroup.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

#
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/container_template_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualGroup.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

def textual_group_objects
Expand Down
4 changes: 1 addition & 3 deletions app/helpers/persistent_volume_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ def textual_group_relationships
end

def textual_group_smart_management
items = %w(tags)
i = items.collect { |m| send("textual_#{m}") }.flatten.compact
TextualTags.new(_("Smart Management"), i)
TextualTags.new(_("Smart Management"), %i(tags))
end

def textual_group_capacity
Expand Down

0 comments on commit 7e8cf4b

Please sign in to comment.