tysonnorris commented on a change in pull request #4935:
URL: https://github.com/apache/openwhisk/pull/4935#discussion_r467297052
##########
File path:
core/controller/src/main/scala/org/apache/openwhisk/core/controller/Packages.scala
##########
@@ -42,6 +43,12 @@ trait WhiskPackagesApi extends WhiskCollectionAPI with
ReferencedEntities {
/** Database service to CRUD packages. */
protected val entityStore: EntityStore
+ /** Config flag for Execute Only for Shared Packages */
+ protected def executeOnly =
+ Try({
+ loadConfigOrThrow[Boolean](ConfigKeys.sharedPackageExecuteOnly)
+ }).getOrElse(false)
Review comment:
same as above - use application.conf for the defaults
----------------------------------------------------------------
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]