Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch *all* facts, not only the first 250, when using the old Hosts API #1321

Merged
merged 1 commit into from Nov 25, 2021

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Nov 24, 2021

No description provided.

@evgeni evgeni merged commit 93a8d31 into theforeman:develop Nov 25, 2021
@evgeni evgeni deleted the facts-250 branch November 25, 2021 08:14
Comment on lines +267 to +268
if host not in results:
results[host] = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be prevented by using results = defaultdict(dict).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but I'm lazy :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants