Browse Source

edited non kernel message, fixed comment

0xdcarns 3 years ago
parent
commit
0b645a4417
2 changed files with 2 additions and 2 deletions
  1. 1 1
      models/node.go
  2. 1 1
      netclient/main.go

+ 1 - 1
models/node.go

@@ -26,7 +26,7 @@ const NODE_NOOP = "noop"
 var seededRand *rand.Rand = rand.New(
 	rand.NewSource(time.Now().UnixNano()))
 
-//node struct
+// node struct
 type Node struct {
 	ID                  string   `json:"id,omitempty" bson:"id,omitempty"`
 	Address             string   `json:"address" bson:"address" yaml:"address" validate:"omitempty,ipv4"`

+ 1 - 1
netclient/main.go

@@ -348,7 +348,7 @@ func main() {
 	}
 	if !ncutils.IsKernel() {
 		if !local.IsWGInstalled() {
-			log.Fatal("Please install Windows WireGuard before using Gravitl Netclient. https://download.wireguard.com")
+			log.Fatal("Please install WireGuard before using Gravitl Netclient. https://download.wireguard.com")
 		}
 	}
 	if len(os.Args) == 1 && ncutils.IsWindows() {