mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 21:24:16 +08:00
fixing dillon comments
This commit is contained in:
parent
3b84aceec9
commit
3ecc13833d
2 changed files with 2 additions and 4 deletions
|
@ -13,7 +13,7 @@ import (
|
||||||
"github.com/gravitl/netmaker/servercfg"
|
"github.com/gravitl/netmaker/servercfg"
|
||||||
)
|
)
|
||||||
|
|
||||||
const NETMAKER_PROCESS_NAME = "netmaker"
|
const netmakerProcessName = "netmaker"
|
||||||
|
|
||||||
// InitServerNetclient - intializes the server netclient
|
// InitServerNetclient - intializes the server netclient
|
||||||
func InitIPTables() error {
|
func InitIPTables() error {
|
||||||
|
@ -70,7 +70,7 @@ func isContainerized() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
fileString := string(fileBytes)
|
fileString := string(fileBytes)
|
||||||
return strings.Contains(fileString, NETMAKER_PROCESS_NAME)
|
return strings.Contains(fileString, netmakerProcessName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure host allows forwarding
|
// make sure host allows forwarding
|
||||||
|
|
|
@ -12,8 +12,6 @@ import (
|
||||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||||
)
|
)
|
||||||
|
|
||||||
const NETMAKER_BINARY_NAME = "netmaker"
|
|
||||||
|
|
||||||
// InitServerNetclient - intializes the server netclient
|
// InitServerNetclient - intializes the server netclient
|
||||||
func InitServerNetclient() error {
|
func InitServerNetclient() error {
|
||||||
netclientDir := ncutils.GetNetclientPath()
|
netclientDir := ncutils.GetNetclientPath()
|
||||||
|
|
Loading…
Add table
Reference in a new issue