1996fanrui commented on code in PR #2243:
URL: 
https://github.com/apache/incubator-streampark/pull/2243#discussion_r1064297037


##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/LogClientService.java:
##########
@@ -33,10 +33,10 @@
 @Slf4j
 @Component
 public class LogClientService {
-  public String rollViewLog(String path, int skipLineNum, int limit) {
+  public String rollViewLog(String path, int offset, int limit) {
     String result = "";
     try {
-      List<String> lines = readPartFileContent(path, skipLineNum, limit);
+      List<String> lines = readPartFileContent(path, offset, limit);

Review Comment:
   The result can be removed, and return `""` in the end of this method 
directly.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to