sven-lange-last commented on a change in pull request #4503: Add optional config for appending custom registry to user provided images URL: https://github.com/apache/openwhisk/pull/4503#discussion_r325249961
########## File path: common/scala/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerFactory.scala ########## @@ -111,6 +111,20 @@ object ContainerFactory { /** include the instance name, if specified and strip invalid chars before attempting to use them in the container name */ def containerNamePrefix(instanceId: InvokerInstanceId): String = s"wsk${instanceId.uniqueName.getOrElse("")}${instanceId.toInt}".filter(isAllowed) + + def resolveRegisterConfig(userProvidedImage: Boolean, + runtimesRegistryConfig: RuntimesRegistryConfig, + userImagesRegistryConfig: RuntimesRegistryConfig): RuntimesRegistryConfig = { Review comment: Wouldn't it make sense to name this function `resolveRegistryConfig()`? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services