Closed jacobbaungard closed 5 years ago
Hmm seems to fail on the Go 1.x build (actual version seems to be 1.12), due to an unknown flag to the vet command (-shadow). Last master build on Go 1.x used 1.11.5, so guess something changed in Go 1.12.
i will have a look. go 1.12 is pretty new and has been released only a few days ago.
https://golang.org/doc/go1.12#vet has some info.
please rebase, should be fixed now
Great, rebased!
perfect, thanks.
Previously, when generating the host and service dataset, only the last host/service defined in the test data would be used.
This commit ensures that we use the actual dataset, and if more hosts or services than defined are needed, then we duplicate the last defined test object (as before).
Given that the test dataset used have changed, a bunch of the expected values in the tests needed to be adjusted.
Signed-off-by: Jacob Hansen jhansen@op5.com