mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
replace ncutil.Log/PrintLog with logger.Log
This commit is contained in:

committed by
0xdcarns

parent
28efa45419
commit
11b1098390
@@ -6,6 +6,7 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/gravitl/netmaker/logger"
|
||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||
)
|
||||
|
||||
@@ -48,7 +49,7 @@ func CleanupMac() {
|
||||
err = os.Remove("/Library/LaunchDaemons/" + MAC_SERVICE_NAME + ".plist")
|
||||
}
|
||||
if err != nil {
|
||||
ncutils.PrintLog(err.Error(), 1)
|
||||
logger.Log(1, err.Error())
|
||||
}
|
||||
|
||||
os.RemoveAll(ncutils.GetNetclientPath())
|
||||
|
Reference in New Issue
Block a user