Skip to content

Commit 36c339f

Browse files
committed
Update replacing variable name
K-A patch [1] introduced a new variable ``docker_image_url`` to avoid repeating ``docker_image_name_prefix`` variable. Updating kolla-images.py accordingly. [1] https://review.opendev.org/c/openstack/kolla-ansible/+/951747
1 parent c9534e8 commit 36c339f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/kolla-images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def check_image_map(kolla_ansible_path: str):
315315
image_map = yaml.safe_load(image_map_str)
316316
image_var_re = re.compile(r"^([a-z0-9_]+)_image$")
317317
image_map = {
318-
image_var_re.match(image_var).group(1): image.split("/")[-1].replace('{{ docker_image_name_prefix }}', '')
318+
image_var_re.match(image_var).group(1): image.split("/")[-1].replace('{{ docker_image_url }}', '')
319319
for image_var, image in image_map.items()
320320
}
321321
# Filter out unsupported images.

0 commit comments

Comments
 (0)