Skip to content

Commit

Permalink
Merge pull request #22914 from nasark/improve_data_auditing
Browse files Browse the repository at this point in the history
Switch to is_podified? check in auditing payload
  • Loading branch information
Fryguy authored Feb 27, 2024
2 parents 4f5346d + c495286 commit e883fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def self.audit_details
:hosts => Host.active.count,
:aggregate_physical_cpus => Host.active.in_my_region.sum(:aggregate_physical_cpus),
:providers => ExtManagementSystem.group(:type).count,
:deployment => MiqEnvironment::Command.is_appliance? ? "appliance" : "containers",
:deployment => MiqEnvironment::Command.is_podified? ? "containers" : "appliance",
:arch => MiqEnvironment.arch.to_s,
:services => {:active => Service.active.count, :inactive => Service.inactive.count},
:service_catalog_items => {:active => ServiceTemplate.active.count, :archived => ServiceTemplate.archived.count},
Expand Down

0 comments on commit e883fa0

Please sign in to comment.