chore: replace all cn comments to en version by volc api (#313)
This commit is contained in:
@@ -126,7 +126,7 @@ func (s *singleAgentImpl) GetPublishConnectorList(ctx context.Context, agentID i
|
||||
} else if v.ID == consts.APIConnectorID {
|
||||
c.BindType = developer_api.BindType_ApiBind
|
||||
// c.BindInfo = map[string]string{
|
||||
// "sdk_version": "1.2.0-beta.6", // TODO(@fanlv): 确认版本在哪读取?
|
||||
// "sdk_version": "1.2.0 -beta.6",//TODO (@fanlv): Where to check the version?
|
||||
// }
|
||||
c.AuthLoginInfo = &developer_api.AuthLoginInfo{}
|
||||
}
|
||||
|
||||
@@ -288,7 +288,7 @@ func (s *singleAgentImpl) ListAgentPublishHistory(ctx context.Context, agentID i
|
||||
maxCount = pageSize * pageIndex
|
||||
)
|
||||
|
||||
// 全量拉取符合条件的记录
|
||||
// Pull all eligible records
|
||||
for {
|
||||
pageData, err := s.AgentVersionRepo.List(ctx, agentID, currentPage, 50)
|
||||
if err != nil {
|
||||
@@ -298,7 +298,7 @@ func (s *singleAgentImpl) ListAgentPublishHistory(ctx context.Context, agentID i
|
||||
break
|
||||
}
|
||||
|
||||
// 过滤当前页数据
|
||||
// Filter current page data
|
||||
for _, item := range pageData {
|
||||
for _, cID := range item.ConnectorIds {
|
||||
if cID == *connectorID {
|
||||
|
||||
Reference in New Issue
Block a user