fixed typo
This commit is contained in:
parent
d6c9b69b9c
commit
8a4ef3628f
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue