From 9acf1a1151d4f7cfd2d5b62bd44ee5ccfd81e42f Mon Sep 17 00:00:00 2001 From: devad Date: Wed, 6 Dec 2023 15:53:10 +0800 Subject: [PATCH] fix bug Signed-off-by: devad Former-commit-id: 91a3a9d7f820bf68ec72a2ce3012b801a2d3a611 --- api/internal/logic/cloud/registerclusterlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/internal/logic/cloud/registerclusterlogic.go b/api/internal/logic/cloud/registerclusterlogic.go index f6aec99c..32881979 100644 --- a/api/internal/logic/cloud/registerclusterlogic.go +++ b/api/internal/logic/cloud/registerclusterlogic.go @@ -43,7 +43,7 @@ func (l *RegisterClusterLogic) RegisterCluster(req *types.RegisterClusterReq) (* participant.Token = req.Token participant.Name = req.Name participant.Address = req.Address - participant.Type = "SEALOS" + participant.Type = "CLOUD" participant.Id = utils.GenSnowflakeID() participant.MetricsUrl = req.MetricsUrl participant.CreatedTime = time.Now()