You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/01 05:56:49 UTC

[GitHub] rabbah commented on a change in pull request #4243: Optional write activation results to file…

rabbah commented on a change in pull request #4243: Optional write activation results to file…
URL: https://github.com/apache/incubator-openwhisk/pull/4243#discussion_r252940060
 
 

 ##########
 File path: common/scala/src/main/scala/org/apache/openwhisk/core/database/ActivationFileStorage.scala
 ##########
 @@ -92,8 +93,12 @@ class ActivationFileStorage(logFilePrefix: String,
 
   private def transcribeActivation(activation: WhiskActivation, additionalFields: Map[String, JsValue]) = {
     val transactionType = Map("type" -> "activation_record".toJson)
-    val message = Map(
-      "message" -> s"Activation record '${activation.activationId}' for entity '${activation.name}'".toJson)
+    val message = writeResultToFile match {
 
 Review comment:
   the `result` should never be None/null but OK.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services