fix: 临时处理 asw 和 opensearch 组件角色对应关系
This commit is contained in:
@@ -416,11 +416,12 @@ public class GitServiceImpl implements IGitService {
|
|||||||
files.add(
|
files.add(
|
||||||
T.MapUtil.builder()
|
T.MapUtil.builder()
|
||||||
.put("path", path)
|
.put("path", path)
|
||||||
.put("addedLines", (addedLines == 0 ? 0 : ++addedLines))
|
.put("addedLines", addedLines)
|
||||||
.put("removedLines", (deletedLines == 0 ? 0 : ++deletedLines))
|
.put("removedLines", deletedLines)
|
||||||
.put("encoding", encoding)
|
.put("encoding", encoding)
|
||||||
.put("oldContent", oldContent)
|
.put("oldContent", oldContent)
|
||||||
.put("newContent", newContent)
|
.put("newContent", newContent)
|
||||||
|
.put("action", diff.getChangeType().name().toLowerCase())
|
||||||
.build()
|
.build()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user