You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskCommandHandler.java
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -132,10 +132,8 @@ public GridTaskCommandHandler(final GridKernalContext ctx) {
132
132
133
133
if (err != null)
134
134
res.error(err.getMessage());
135
-
else {
136
-
res.result(desc.result());
137
-
res.resultBytes(U.marshal(ctx, desc.result()));
138
-
}
135
+
else
136
+
res.marshalResult(ctx, desc.result());
139
137
}
140
138
else
141
139
res.found(false);
@@ -433,7 +431,7 @@ else if (!nodeId.equals(resHolderId))
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultResponse.java
0 commit comments