Skip to content

Commit

Permalink
Merge pull request #22961 from nasark/remove_in_my_region_for_audit
Browse files Browse the repository at this point in the history
Remove in_my_region calls from audit report
  • Loading branch information
jrafanie authored Mar 27, 2024
2 parents 99d8125 + 2b0916f commit 882a0a7
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
{
:vms => Vm.active.count,
:hosts => Host.active.count,
:aggregate_physical_cpus => Host.active.in_my_region.sum(:aggregate_physical_cpus),
:aggregate_physical_cpus => Host.active.sum(:aggregate_physical_cpus),
:providers => ExtManagementSystem.group(:type).count,
:deployment => MiqEnvironment::Command.is_podified? ? "containers" : "appliance",
:arch => MiqEnvironment.arch.to_s,
Expand Down

0 comments on commit 882a0a7

Please sign in to comment.