ddragosd commented on a change in pull request #3147: Disallow create and
update of package with reserved names.
URL:
https://github.com/apache/incubator-openwhisk/pull/3147#discussion_r159736951
##########
File path: core/controller/src/main/scala/whisk/core/controller/Packages.scala
##########
@@ -60,6 +58,9 @@ trait WhiskPackagesApi extends WhiskCollectionAPI with
ReferencedEntities {
/** JSON response formatter. */
import RestApiCommons.jsonDefaultResponsePrinter
+ /** Reserved package names. */
+ protected[core] val RESERVED_NAMES = Set("default")
Review comment:
I confused this a bit with the ?system? NS. I don?t have a strong pref, nor
do I see cases where an operator would wanna change the ?default? package. You
can Ignore my prev comment.
----------------------------------------------------------------
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