|
|
@@ -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() |
|
|
|