mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-18 06:41:20 +08:00
review comments addressed
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
This commit is contained in:
@@ -50,6 +50,7 @@ func Register(cfg *config.ClientConfig, key string) error {
|
||||
return JoinNetwork(cfg, key, false)
|
||||
}
|
||||
|
||||
// RegisterWithServer calls the register endpoint with privatekey and commonname - api returns ca and client certificate
|
||||
func RegisterWithServer(private *ed25519.PrivateKey, cfg *config.ClientConfig) error {
|
||||
data := config.RegisterRequest{
|
||||
Key: *private,
|
||||
|
Reference in New Issue
Block a user