diff --git a/models/names.go b/models/names.go index 3197a811..a0e80857 100644 --- a/models/names.go +++ b/models/names.go @@ -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 {