Closed Spartan0nix closed 1 year ago
For example : https://github.com/Spartan0nix/zabbix-go-sdk/blob/5c068ed5d89d334d36e0e600ba42121e27a32758/host_test.go#L55
Instead of
if h == nil {
Use :
if h == nil || len(h.HostIds) == 0 {
Need to be updated on all tests.
For example : https://github.com/Spartan0nix/zabbix-go-sdk/blob/5c068ed5d89d334d36e0e600ba42121e27a32758/host_test.go#L55
Instead of
Use :
Need to be updated on all tests.