|
|
@@ -769,11 +769,6 @@ func CloudbrainGetLog(ctx *context.APIContext) { |
|
|
|
} |
|
|
|
if ctx.Data["existStr"] != nil && result["Lines"].(int) < 60 { |
|
|
|
content = content + ctx.Data["existStr"].(string) |
|
|
|
if result["Lines"].(int) == 0 { |
|
|
|
result["Lines"] = 1 |
|
|
|
// startLine := ctx.QueryInt("base_line") |
|
|
|
// result["EndLine"] = startLine + 1 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|