mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
Remove config.Server.Debug
no longer required with move to logger.Log and it's verbosity capabilities
This commit is contained in:
@@ -18,7 +18,7 @@ func Join(cfg *config.ClientConfig, privateKey string) error {
|
||||
var err error
|
||||
//join network
|
||||
err = functions.JoinNetwork(cfg, privateKey)
|
||||
if err != nil && !cfg.DebugOn {
|
||||
if err != nil {
|
||||
if !strings.Contains(err.Error(), "ALREADY_INSTALLED") {
|
||||
logger.Log(1, "error installing: ", err.Error())
|
||||
err = functions.LeaveNetwork(cfg.Network, true)
|
||||
|
Reference in New Issue
Block a user