mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00: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