mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
Fix golint errors
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
type VlanDefinition struct {
|
||||
Id int
|
||||
ID int
|
||||
Name string
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ func ParseVlanDefinitions(vlans string) ([]VlanDefinition, error) {
|
||||
}
|
||||
|
||||
def := VlanDefinition{
|
||||
Id: id,
|
||||
ID: id,
|
||||
}
|
||||
|
||||
if len(idName) > 1 {
|
||||
|
Reference in New Issue
Block a user