节点返回数据增加isUp字段

This commit is contained in:
刘祥超
2021-08-29 16:57:20 +08:00
parent a983615464
commit afeee89a88

View File

@@ -626,6 +626,7 @@ func (this *NodeService) FindEnabledNode(ctx context.Context, req *pb.FindEnable
InstallStatus: installStatusResult,
MaxCPU: types.Int32(node.MaxCPU),
IsOn: node.IsOn == 1,
IsUp: node.IsUp == 1,
NodeGroup: pbGroup,
NodeRegion: pbRegion,
MaxCacheDiskCapacity: pbMaxCacheDiskCapacity,