mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 18:10:25 +08:00
节点返回数据增加isUp字段
This commit is contained in:
@@ -626,6 +626,7 @@ func (this *NodeService) FindEnabledNode(ctx context.Context, req *pb.FindEnable
|
|||||||
InstallStatus: installStatusResult,
|
InstallStatus: installStatusResult,
|
||||||
MaxCPU: types.Int32(node.MaxCPU),
|
MaxCPU: types.Int32(node.MaxCPU),
|
||||||
IsOn: node.IsOn == 1,
|
IsOn: node.IsOn == 1,
|
||||||
|
IsUp: node.IsUp == 1,
|
||||||
NodeGroup: pbGroup,
|
NodeGroup: pbGroup,
|
||||||
NodeRegion: pbRegion,
|
NodeRegion: pbRegion,
|
||||||
MaxCacheDiskCapacity: pbMaxCacheDiskCapacity,
|
MaxCacheDiskCapacity: pbMaxCacheDiskCapacity,
|
||||||
|
|||||||
Reference in New Issue
Block a user