You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by te...@apache.org on 2020/02/05 04:09:42 UTC

[incubator-dolphinscheduler] branch refactor-logger updated: refactor-logger branch view log CommandType modify (#1894)

This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch refactor-logger
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/refactor-logger by this push:
     new 000f58d  refactor-logger branch view log CommandType modify (#1894)
000f58d is described below

commit 000f58d74fde75d5a3961ee1af87a6803024ab67
Author: qiaozhanwei <qi...@outlook.com>
AuthorDate: Wed Feb 5 12:09:32 2020 +0800

    refactor-logger branch view log CommandType modify (#1894)
    
    * refactor-logger branch login error modify
    
    * refactor-logger branch rollback LogClientService
    
    * refactor-logger branch api server ResourceServiceTest fetch from dev
    
    * refactor-logger branch view log CommandType modify
---
 .../dolphinscheduler/remote/command/log/GetLogResponseCommand.java      | 2 +-
 .../dolphinscheduler/remote/command/log/RollViewLogResponseCommand.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/GetLogResponseCommand.java b/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/GetLogResponseCommand.java
index 39cb11f..b1f950f 100644
--- a/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/GetLogResponseCommand.java
+++ b/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/GetLogResponseCommand.java
@@ -44,7 +44,7 @@ public class GetLogResponseCommand implements Serializable {
 
     public Command convert2Command(long opaque){
         Command command = new Command(opaque);
-        command.setType(CommandType.GET_LOG_REQ);
+        command.setType(CommandType.GET_LOG_RES);
         byte[] body = FastJsonSerializer.serialize(this);
         command.setBody(body);
         return command;
diff --git a/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/RollViewLogResponseCommand.java b/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/RollViewLogResponseCommand.java
index 95d476f..f356e72 100644
--- a/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/RollViewLogResponseCommand.java
+++ b/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/log/RollViewLogResponseCommand.java
@@ -44,7 +44,7 @@ public class RollViewLogResponseCommand implements Serializable {
 
     public Command convert2Command(long opaque){
         Command command = new Command(opaque);
-        command.setType(CommandType.ROLL_VIEW_LOG_REQ);
+        command.setType(CommandType.ROLL_VIEW_LOG_RES);
         byte[] body = FastJsonSerializer.serialize(this);
         command.setBody(body);
         return command;