mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
remove references to grpc/comms net
This commit is contained in:
@@ -14,11 +14,7 @@ import (
|
||||
// tries to ping if already found locally, if fail ping pull for best effort for communication
|
||||
func JoinComms(cfg *config.ClientConfig) error {
|
||||
commsCfg := &config.ClientConfig{}
|
||||
commsCfg.Network = cfg.Server.CommsNetwork
|
||||
commsCfg.Node.Network = cfg.Server.CommsNetwork
|
||||
commsCfg.Server.AccessKey = cfg.Server.AccessKey
|
||||
commsCfg.Server.GRPCAddress = cfg.Server.GRPCAddress
|
||||
commsCfg.Server.GRPCSSL = cfg.Server.GRPCSSL
|
||||
commsCfg.Server.CoreDNSAddr = cfg.Server.CoreDNSAddr
|
||||
if commsCfg.ConfigFileExists() {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user