mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-07 17:51:56 +08:00
fixed server config api
This commit is contained in:
@@ -87,7 +87,7 @@ func (s *NodeServiceServer) GetConn(ctx context.Context, data *nodepb.Client) (*
|
||||
PrivateKey: data.GetPrivatekey(),
|
||||
ServerPort: data.GetServerport(),
|
||||
ServerKey: data.GetServerkey(),
|
||||
ServerEndpoint: data.GetServerendpoint(),
|
||||
ServerWGEndpoint: data.GetServerwgendpoint(),
|
||||
}
|
||||
|
||||
//Check to see if key is valid
|
||||
@@ -117,7 +117,7 @@ func (s *NodeServiceServer) GetConn(ctx context.Context, data *nodepb.Client) (*
|
||||
Accesskey: client.AccessKey,
|
||||
Address: client.Address,
|
||||
Address6: client.Address6,
|
||||
Serverendpoint: client.ServerEndpoint,
|
||||
Serverwgendpoint: client.ServerWGEndpoint,
|
||||
Serverport: client.ServerPort,
|
||||
Serverkey: client.ServerKey,
|
||||
}
|
||||
|
Reference in New Issue
Block a user