mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 18:10:25 +08:00
API节点自动生成实例代号,用来外界查询多个API节点实例是否为同一个
This commit is contained in:
@@ -273,8 +273,9 @@ func (this *APINodeService) FindCurrentAPINode(ctx context.Context, req *pb.Find
|
||||
RestHTTPSJSON: nil,
|
||||
AccessAddrsJSON: node.AccessAddrs,
|
||||
AccessAddrs: accessAddrs,
|
||||
StatusJSON: nil,
|
||||
StatusJSON: node.Status,
|
||||
IsPrimary: node.IsPrimary,
|
||||
InstanceCode: teaconst.InstanceCode,
|
||||
}}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user