实现节点运行日志上传

This commit is contained in:
GoEdgeLab
2020-10-09 11:06:43 +08:00
parent 4245c73c47
commit 904d1f4b41
16 changed files with 184 additions and 63 deletions

View File

@@ -544,7 +544,7 @@ func (this *HTTPRequest) Format(source string) string {
if prefix == "node" {
switch suffix {
case "id":
return sharedNodeConfig.Id
return strconv.FormatInt(sharedNodeConfig.Id, 10)
case "name":
return sharedNodeConfig.Name
case "role":