From 2f6cb128a4ab33563391c92b7dc35fffe44a91cb Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 2 Nov 2022 10:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/db/models/node_task_dao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/models/node_task_dao.go b/internal/db/models/node_task_dao.go index e10791a5..f72348a8 100644 --- a/internal/db/models/node_task_dao.go +++ b/internal/db/models/node_task_dao.go @@ -103,7 +103,7 @@ func (this *NodeTaskDAO) CreateClusterTask(tx *dbs.Tx, role string, clusterId in 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 中,是为了兼容以前的字段值