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_r159735548
##########
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:
Should we hardcode to ?default? or make it configurable, with ?default? as
... default :smile:
----------------------------------------------------------------
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