mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-23 17:03:17 +08:00
token configs and secure grpc working
This commit is contained in:
@@ -200,7 +200,11 @@ func main() {
|
||||
Flags: cliFlags,
|
||||
Action: func(c *cli.Context) error {
|
||||
cfg, err := config.GetCLIConfigRegister(c)
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if cfg.GRPCWireGuard == "off" {
|
||||
log.Println("Server is not using WireGuard to secure GRPC. Skipping.")
|
||||
return err
|
||||
}
|
||||
if cfg.Client.ServerPrivateAddress == "" {
|
||||
|
Reference in New Issue
Block a user