Project

General

Profile

Bug #25971

ComputeResource available* api calls returns bad counts

Added by Ondřej Ezr 7 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

In controller ComputeResourcesController is a lot of methods available*, getting results using index template, but letting the default implementation count.

This approach will take count of ComputeResources, because it counts from resource_scope.

Associated revisions

Revision 263744b8 (diff)
Added by Ondřej Ezr 7 months ago

Fixes #25971 - correct totals in nested resources of CR

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6456 added

#2 Updated by Timo Goebel 7 months ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Ondřej Ezr 7 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 4 months ago

  • Category set to API

Also available in: Atom PDF