mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-25 10:05:24 +09:00
fix: use file name for log
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.LogURL, offset, length)
|
||||
logRows, err = bots.ReadLogs(ctx, task.LogFilename, offset, length)
|
||||
if err != nil {
|
||||
ctx.Error(http.StatusInternalServerError, err.Error())
|
||||
return
|
||||
|
Reference in New Issue
Block a user