style95 commented on a change in pull request #3671: Activation id in header
URL: 
https://github.com/apache/incubator-openwhisk/pull/3671#discussion_r190526404
 
 

 ##########
 File path: 
core/controller/src/main/scala/whisk/core/controller/WebActions.scala
 ##########
 @@ -634,37 +634,40 @@ trait WhiskWebActionsApi extends Directives with 
ValidateRequestSize with PostAc
                               responseType: MediaExtension)(implicit transid: 
TransactionId) = {
     onComplete(queuedActivation) {
       case Success(Right(activation)) =>
-        val result = activation.resultAsJson
+        respondWithActivationIdHeader(activation) {
 
 Review comment:
   This is to cope with the inconvenience which is described in #3582.
   This will give users a better option to retrieve right activation results.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to