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

Correct contacts column on host table #88

Merged

Conversation

jacobbaungard
Copy link
Contributor

Move the assignment of the hst variable before the if statement, to
ensure the if statement doesn't always return false.

This fixes an issue causing the contacts column on the host table to
always be empty.

Also add a test case for sanity checking.

Signed-off-by: Jacob Hansen jhansen@op5.com

Move the assignment of the hst variable before the if statement, to
ensure the if statement doesn't always return false.

This fixes an issue causing the contacts column on the host table to
always be empty.

Also add a test case for sanity checking.

Signed-off-by: Jacob Hansen <jhansen@op5.com>
@sni
Copy link
Contributor

sni commented Mar 12, 2021

my bad, and thanks for adding the test case :-)

@jacobbaungard jacobbaungard merged commit 84e4705 into naemon:master Mar 12, 2021
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.

2 participants