Support to pull container images from authenticated registries

Fix the constants spelling error which was introduced in commit
https://review.opendev.org/#/c/673100/.

Co-Authored-By: Wayne Chan <chenlx@fiberhome.com>

Change-Id: If00e668c977c540dcd98caaf1207c49ef20897b0
Story: 2006274
Task: 35998
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
Angie Wang 2019-08-13 10:42:44 -04:00
parent 20c122a2dc
commit 27d3d1af09
1 changed files with 2 additions and 2 deletions

View File

@ -2381,9 +2381,9 @@ class DockerHelper(object):
# quay.io and docker.io or no registry_name specified in image # quay.io and docker.io or no registry_name specified in image
# tag, use user specified docker registry as default # tag, use user specified docker registry as default
registry = self.registries_info[ registry = self.registries_info[
constants.SERVICE_PARAM_NAME_DOCKER_DOCKER_REGISTRY]['registry_replaced'] constants.SERVICE_PARAM_SECTION_DOCKER_DOCKER_REGISTRY]['registry_replaced']
registry_auth = self.registries_info[ registry_auth = self.registries_info[
constants.SERVICE_PARAM_NAME_DOCKER_DOCKER_REGISTRY]['registry_auth'] constants.SERVICE_PARAM_SECTION_DOCKER_DOCKER_REGISTRY]['registry_auth']
if registry: if registry:
LOG.info("Registry %s not recognized or docker.io repository " LOG.info("Registry %s not recognized or docker.io repository "