zhengziyi0117 commented on code in PR #139:
URL: 
https://github.com/apache/skywalking-query-protocol/pull/139#discussion_r1807283154


##########
async-profiler.graphqls:
##########
@@ -28,16 +28,27 @@ input AsyncProfilerTaskCreationRequest {
     execArgs: String
 }
 
-# profiler task create result
+# AsyncProfiler task create result
 type AsyncProfilerTaskCreationResult {
-    # if null or empty means the task create success, otherwise get create 
error reason
-    errorReason: String
+    # if null means the task create success, otherwise get create error reason
+    errorReason: AsyncProfilerTaskCreationErrorType

Review Comment:
   So what you mean is to add a new errCode field in graphql to indicate that 
"the parameters are incorrect" or "there is already a task being executed"?



-- 
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