mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 00:24:37 +08:00
fixed name issue
This commit is contained in:
parent
ba4a177bfd
commit
4f9ce3635a
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ var SMALL_NAMES = []string{
|
|||
|
||||
func GenerateNodeName() string {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
return NAMES[rand.Intn(len(SMALL_NAMES))] + "-" + NAMES[seededRand.Intn(len(NAMES))]
|
||||
return SMALL_NAMES[rand.Intn(len(SMALL_NAMES))] + "-" + NAMES[seededRand.Intn(len(NAMES))]
|
||||
}
|
||||
|
||||
func RetrieveLogo() string {
|
||||
|
|
Loading…
Reference in a new issue