mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
allow adding address
This commit is contained in:
@@ -77,6 +77,7 @@ func (config *ClientConfig) ReadConfig() {
|
||||
nofile := false
|
||||
//home, err := homedir.Dir()
|
||||
home := ncutils.GetNetclientPathSpecific()
|
||||
|
||||
file := fmt.Sprintf(home + "netconfig-" + config.Network)
|
||||
//f, err := os.Open(file)
|
||||
f, err := os.OpenFile(file, os.O_RDONLY, 0600)
|
||||
|
||||
Reference in New Issue
Block a user