Skip to content

Commit

Permalink
Container Project reports: add archived Container Groups
Browse files Browse the repository at this point in the history
  • Loading branch information
zakiva committed Feb 8, 2017
1 parent 60eeff4 commit 0598ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models/container_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class ContainerProject < ApplicationRecord
has_many :container_limit_items, :through => :container_limits
has_many :container_builds
has_many :container_templates
has_many :archived_container_groups, :foreign_key => "old_container_project_id", :class_name => "ContainerGroup"

# Needed for metrics
has_many :metrics, :as => :resource
Expand Down
1 change: 1 addition & 0 deletions lib/miq_expression.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class MiqExpression

INCLUDE_TABLES = %w(
advanced_settings
archived_container_groups
audit_events
availability_zones
cloud_networks
Expand Down

0 comments on commit 0598ad4

Please sign in to comment.