mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-10 19:20:42 +08:00
refactor logic for client.key generation
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
// Register - the function responsible for registering with the server and acquiring certs
|
||||
func Register(cfg *config.ClientConfig, key string) error {
|
||||
func Register(cfg *config.ClientConfig) error {
|
||||
|
||||
//generate new key if one doesn' exist
|
||||
var private *ed25519.PrivateKey
|
||||
|
Reference in New Issue
Block a user