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/11/11 01:31:31 UTC

[GitHub] [openwhisk] upgle commented on a change in pull request #4646: Serialize `updated` value of entity document in response

upgle commented on a change in pull request #4646: Serialize `updated` value of entity document in response
URL: https://github.com/apache/openwhisk/pull/4646#discussion_r344531699
 
 

 ##########
 File path: common/scala/src/main/scala/org/apache/openwhisk/core/entity/WhiskAction.scala
 ##########
 @@ -133,7 +135,8 @@ case class WhiskAction(namespace: EntityPath,
                        limits: ActionLimits = ActionLimits(),
                        version: SemVer = SemVer(),
                        publish: Boolean = false,
-                       annotations: Parameters = Parameters())
+                       annotations: Parameters = Parameters(),
+                       override val updated: Instant = WhiskEntity.currentMillis())
 
 Review comment:
   @rabbah 
   Sorry for the late response. I think your code is very clear. 
   Can I reference your code? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services