Browse Source

fix bug

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

Former-commit-id: 91a3a9d7f8
scheduler_restruct
devad 1 year ago
parent
commit
9acf1a1151
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      api/internal/logic/cloud/registerclusterlogic.go

+ 1
- 1
api/internal/logic/cloud/registerclusterlogic.go View File

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


Loading…
Cancel
Save