fixed typo

This commit is contained in:
ston1th 2020-06-01 14:01:30 +02:00
commit 8a4ef3628f

View file

@ -9,7 +9,7 @@ import (
type NetworkDevices []*NetworkDevice type NetworkDevices []*NetworkDevice
func (c NetworkDevice) Get(index int) *NetworkDevice { func (c NetworkDevices) Get(index int) *NetworkDevice {
if len(c)-1 >= index { if len(c)-1 >= index {
return c[index] return c[index]
} }