mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-19 08:28:58 +08:00
fix GetSystemNetworks
This commit is contained in:
parent
9721d91e49
commit
d1831ece96
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ func GetSystemNetworks() ([]string, error) {
|
|||
}
|
||||
file := filepath.Base(file)
|
||||
temp := strings.Split(file, "-")
|
||||
networks = append(networks, temp[1])
|
||||
networks = append(networks, strings.Join(temp[1:], "-"))
|
||||
}
|
||||
return networks, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue