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

Fix Issue example gethostgroups #7

Merged
merged 4 commits into from
Feb 19, 2021
Merged

Conversation

gwenblum
Copy link
Member

Avoid operation show AttributeError: hosts
Add 2 simple print hostgroups examples

Avoid operation show fails AttributeError: hosts
When some the feteched host group record do not contain "hosts" attribute
Print raw to print every hostgroups with all the attributes
Print formated to print a nice table selected few columns
added new line at the end of file
added new line at the end of file
@saurabhjain06 saurabhjain06 merged commit b87e5af into master Feb 19, 2021
@saurabhjain06 saurabhjain06 deleted the issue-example-gethostgroups branch February 19, 2021 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants