Change to single variable in ClientConfig (no nested GlobalSettings).

This commit is contained in:
cameronts
2022-07-28 12:50:53 -07:00
parent 1cb42e8f8b
commit 05283eff14
3 changed files with 4 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ func checkin() {
nodeCfg.Network = network
nodeCfg.ReadConfig()
if nodeCfg.Node.IsStatic != "yes" {
extIP, err := ncutils.GetPublicIP(nodeCfg.GlobalSettings.PublicIPService)
extIP, err := ncutils.GetPublicIP(nodeCfg.PublicIPService)
if err != nil {
logger.Log(1, "error encountered checking public ip addresses: ", err.Error())
}