Fixed comparison again...

This commit is contained in:
David Allen 2024-05-28 17:27:00 -06:00
parent 8436d8923e
commit a5644476f3
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC

View file

@ -462,7 +462,7 @@ func CollectSystems(c *gofish.APIClient, q *QueryParams) ([]byte, error) {
if err != nil {
return nil, fmt.Errorf("failed to get system manager references: %v", err)
}
if len(managers) >= 0 {
if len(managers) > 0 {
manager := managers[0]
eths, err = manager.EthernetInterfaces()
if err != nil {