|
|
|
@@ -421,7 +421,7 @@ func CloudbrainGetLog(ctx *context.Context) { |
|
|
|
startLine := ctx.QueryInt("base_line") |
|
|
|
endLine := startLine + lines |
|
|
|
|
|
|
|
if order == "asc" && (startLine-lines) > 0 { |
|
|
|
if order == "asc" && (startLine-lines) >= 0 { |
|
|
|
endLine = startLine |
|
|
|
startLine = endLine - lines |
|
|
|
if startLine < 0 { |
|
|
|
|