Skip to content

Commit b22eb25

Browse files
jrafanieFryguy
authored andcommitted
Merge pull request #22961 from nasark/remove_in_my_region_for_audit
Remove in_my_region calls from audit report (cherry picked from commit 882a0a7)
1 parent 7bb6c9e commit b22eb25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/miq_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def self.audit_details
590590
{
591591
:vms => Vm.active.count,
592592
:hosts => Host.active.count,
593-
:aggregate_physical_cpus => Host.active.in_my_region.sum(:aggregate_physical_cpus),
593+
:aggregate_physical_cpus => Host.active.sum(:aggregate_physical_cpus),
594594
:providers => ExtManagementSystem.group(:type).count,
595595
:deployment => MiqEnvironment::Command.is_podified? ? "containers" : "appliance",
596596
:arch => MiqEnvironment.arch.to_s,

0 commit comments

Comments
 (0)