1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-07 06:56:47 +00:00

Move the WebMirrorStatus to internal package. Fix the list command of tunasynctl

这个提交包含在:
Yuxiang Zhang
2018-05-29 18:48:33 +08:00
父节点 a475b044c6
当前提交 4fe7d03e54
共有 4 个文件被更改,包括 14 次插入19 次删除

查看文件

@@ -135,11 +135,11 @@ func (s *Manager) listAllJobs(c *gin.Context) {
s.returnErrJSON(c, http.StatusInternalServerError, err)
return
}
webMirStatusList := []webMirrorStatus{}
webMirStatusList := []WebMirrorStatus{}
for _, m := range mirrorStatusList {
webMirStatusList = append(
webMirStatusList,
convertMirrorStatus(m),
BuildWebMirrorStatus(m),
)
}
c.JSON(http.StatusOK, webMirStatusList)