mirror of
https://github.com/go-gitea/gitea
synced 2025-10-31 19:38:23 +00:00
feat: tranfer log to storage
This commit is contained in:
@@ -180,7 +180,7 @@ func BuildViewPost(ctx *context.Context) {
|
||||
index := step.LogIndex + cursor.Cursor
|
||||
length := step.LogLength - cursor.Cursor
|
||||
offset := (*task.LogIndexes)[index]
|
||||
logRows, err = bots.ReadLogs(ctx, task.LogFilename, offset, length)
|
||||
logRows, err = bots.ReadLogs(ctx, task.LogInStorage, task.LogFilename, offset, length)
|
||||
if err != nil {
|
||||
ctx.Error(http.StatusInternalServerError, err.Error())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user