Signed-off-by: devad <cossjie@foxmail.com>

Former-commit-id: 91a3a9d7f820bf68ec72a2ce3012b801a2d3a611
This commit is contained in:
devad 2023-12-06 15:53:10 +08:00
parent 828b6cdcc8
commit 9acf1a1151
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func (l *RegisterClusterLogic) RegisterCluster(req *types.RegisterClusterReq) (*
participant.Token = req.Token participant.Token = req.Token
participant.Name = req.Name participant.Name = req.Name
participant.Address = req.Address participant.Address = req.Address
participant.Type = "SEALOS" participant.Type = "CLOUD"
participant.Id = utils.GenSnowflakeID() participant.Id = utils.GenSnowflakeID()
participant.MetricsUrl = req.MetricsUrl participant.MetricsUrl = req.MetricsUrl
participant.CreatedTime = time.Now() participant.CreatedTime = time.Now()