feat: create seed peer with active state in manager (#2593)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
db82dd9e31
commit
a151be1cbb
|
|
@ -244,6 +244,7 @@ func (s *managerServerV2) createSeedPeer(ctx context.Context, req *managerv2.Upd
|
||||||
Port: req.GetPort(),
|
Port: req.GetPort(),
|
||||||
DownloadPort: req.GetDownloadPort(),
|
DownloadPort: req.GetDownloadPort(),
|
||||||
ObjectStoragePort: req.GetObjectStoragePort(),
|
ObjectStoragePort: req.GetObjectStoragePort(),
|
||||||
|
State: models.SeedPeerStateActive,
|
||||||
SeedPeerClusterID: uint(req.GetSeedPeerClusterId()),
|
SeedPeerClusterID: uint(req.GetSeedPeerClusterId()),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue