removing UUID gen from client side

This commit is contained in:
afeiszli
2022-02-01 22:01:30 -05:00
parent c8154ffa5d
commit f6c68bd209
2 changed files with 1 additions and 10 deletions

View File

@@ -10,7 +10,6 @@ import (
"os/exec"
"runtime"
"github.com/google/uuid"
nodepb "github.com/gravitl/netmaker/grpc"
"github.com/gravitl/netmaker/models"
"github.com/gravitl/netmaker/netclient/auth"
@@ -104,10 +103,6 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
}
}
if cfg.Node.ID == "" {
cfg.Node.ID = uuid.NewString()
}
if ncutils.IsLinux() {
_, err := exec.LookPath("resolvconf")
if err != nil {