mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Fixed comparison again...
This commit is contained in:
parent
8436d8923e
commit
a5644476f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue