fix bug
Signed-off-by: devad <cossjie@foxmail.com> Former-commit-id: 91a3a9d7f820bf68ec72a2ce3012b801a2d3a611
This commit is contained in:
parent
828b6cdcc8
commit
9acf1a1151
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue