rabbah commented on a change in pull request #2877: Better error controller
message for authorization failure
URL:
https://github.com/apache/incubator-openwhisk/pull/2877#discussion_r146131302
##########
File path:
core/controller/src/main/scala/whisk/core/entitlement/Entitlement.scala
##########
@@ -56,6 +58,7 @@ protected[core] case class Resource(namespace: EntityPath,
env: Option[Parameters] = None) {
def parent = collection.path + EntityPath.PATHSEP + namespace
def id = parent + (entity map { EntityPath.PATHSEP + _ } getOrElse (""))
+ def fqname = namespace + (entity map { EntityPath.PATHSEP + _ } getOrElse
(""))
Review comment:
namespace is not of type String - should use namespace.asString instead.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services