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



##########
File path: 
core/controller/src/main/scala/org/apache/openwhisk/core/controller/ApiUtils.scala
##########
@@ -392,7 +392,7 @@ trait WriteOps extends Directives {
     onComplete(factory.get(datastore, docid) flatMap { entity =>
       confirm(entity) flatMap {
         case _ =>
-          factory.del(datastore, entity.docinfo) map { _ =>
+          factory.del(datastore, docid.asDocInfo(entity.rev)) map { _ =>

Review comment:
       to compatible with old docId style




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