mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-25 08:20:26 +08:00
优化代码
This commit is contained in:
@@ -103,7 +103,7 @@ func (this *NodeTaskDAO) CreateClusterTask(tx *dbs.Tx, role string, clusterId in
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var uniqueId = role + "@" + types.String(clusterId) + "@" + types.String(serverId) + "@cluster@" + types.String(serverId) + "@" + taskType
|
var uniqueId = role + "@" + types.String(clusterId) + "@" + types.String(serverId) + "@cluster@" + taskType
|
||||||
|
|
||||||
// 用户信息
|
// 用户信息
|
||||||
// 没有直接加入到 uniqueId 中,是为了兼容以前的字段值
|
// 没有直接加入到 uniqueId 中,是为了兼容以前的字段值
|
||||||
|
|||||||
Reference in New Issue
Block a user