icinga

Icinga2 API client in Go
git clone https://git.olowe.co/icinga
Log | Files | Refs | README | LICENSE

commit f4705a64149eb5336dd9f69e1a32ebf7d886a132
parent 62bf235cf08fdde3e89d389bdc78b8602069b28c
Author: Oliver Lowe <o@olowe.co>
Date:   Fri,  4 Feb 2022 14:31:47 +1100

icinga_test: Don't assign group for random hosts

We can test hostgroup assignment in other tests if desired.

Diffstat:
Micinga_test.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/icinga_test.go b/icinga_test.go @@ -39,7 +39,6 @@ func randomHosts(n int, suffix string) []icinga.Host { h := icinga.Host{ Name: randomHostname(suffix), CheckCommand: "random", - Groups: []string{"example"}, Address: randomTestAddr(), } hosts = append(hosts, h)