Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
minor: do not need to resolve process_components with --search-latest…
Browse files Browse the repository at this point in the history
… and --search-provides
  • Loading branch information
JimFuller-RedHat committed Dec 5, 2023
1 parent 7345c8e commit 7ecc332
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions griffon/services/core_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ def execute(self, status=None) -> List[Dict[str, Any]]:
search_provides_params["active_streams"] = "True"
search_provides_params["latest_components_by_streams"] = "True"
status.update("searching latest provided child component(s).")
# latest_components_cnt = self.corgi_session.components.count(**search_provides_params)
latest_components_cnt = 0
latest_components_cnt = self.corgi_session.components.count(**search_provides_params)
status.update(f"found {latest_components_cnt} latest provides component(s).")
latest_components = self.corgi_session.components.retrieve_list_iterator_async(
**search_provides_params
Expand Down

0 comments on commit 7ecc332

Please sign in to comment.