bdoyle0182 commented on a change in pull request #4986:
URL: https://github.com/apache/openwhisk/pull/4986#discussion_r497999512



##########
File path: 
core/controller/src/main/scala/org/apache/openwhisk/core/controller/Actions.scala
##########
@@ -216,11 +224,23 @@ trait WhiskActionsApi extends WhiskCollectionAPI with 
PostActionActivation with
           case _ => entitlementProvider.check(user, content.exec)
         }
 
+        val latestDocId = WhiskActionVersionList.get(entityName, 
entityStore).map { result =>

Review comment:
       This seems to be reused everywhere. Can we make this a future function 
we can just call to get the latest doc id?




----------------------------------------------------------------
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:
[email protected]


Reply via email to