api: added network and sensors system info

This commit is contained in:
yusing
2025-02-11 05:26:37 +08:00
parent 3332ce34c5
commit e1ee08361d
4 changed files with 40 additions and 22 deletions

View File

@@ -31,8 +31,8 @@ func printNewClientHelp() {
},
})
logging.Info().Msgf("On main server, run:\n\ndocker exec godoxy /app/run add-agent '%s'\n\n", host)
logging.Info().Msgf("Then add this host (%s) to main server config like below:\n\n", host)
logging.Info().Msgf("On main server, run:\n\ndocker exec godoxy /app/run add-agent '%s'\n", host)
logging.Info().Msgf("Then add this host (%s) to main server config like below:\n", host)
logging.Info().Msg(string(cfgYAML))
}