Ensure services are also present within a tag
This commit is contained in:
parent
abbe6ddd1a
commit
fd97d41524
@ -13,7 +13,7 @@ from os.path import basename, exists, expanduser
|
||||
from pathlib import Path
|
||||
from re import findall, search
|
||||
from shlex import split
|
||||
from subprocess import check_output, DEVNULL
|
||||
from subprocess import DEVNULL, check_output
|
||||
from sys import exit
|
||||
|
||||
from requests import get
|
||||
@ -200,7 +200,7 @@ def get_app_versions(app_path, cached_apps_json):
|
||||
if service in ("null", "---"):
|
||||
continue
|
||||
|
||||
if tag in existing_tags:
|
||||
if tag in existing_tags and service in cached_apps_json[app_name]["versions"][tag]:
|
||||
log.info(f"Skipping {tag} because we've already processed it")
|
||||
existing_versions = cached_apps_json[app_name]["versions"][tag][service]
|
||||
service_versions[service] = existing_versions
|
||||
|
Loading…
Reference in New Issue
Block a user