feat: create seed peer with active state in manager (#2593)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2023-08-03 10:52:34 +08:00 committed by GitHub
parent db82dd9e31
commit a151be1cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ func (s *managerServerV2) createSeedPeer(ctx context.Context, req *managerv2.Upd
Port: req.GetPort(),
DownloadPort: req.GetDownloadPort(),
ObjectStoragePort: req.GetObjectStoragePort(),
State: models.SeedPeerStateActive,
SeedPeerClusterID: uint(req.GetSeedPeerClusterId()),
}