Merge changes from topic "OOM-2927"
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Mon, 28 Feb 2022 15:55:07 +0000 (15:55 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 28 Feb 2022 15:55:07 +0000 (15:55 +0000)
* changes:
  [ANSIBLE] Override sha tag for kube-webhook-certgen image
  [BUILD] Update image list for kube-prometheus-stack
  Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector"
  [ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1
  [MOLECULE] Pin the markupsafe pip package in virtualenv

build/download/docker_downloader.py

index db79d8a..c767aa9 100755 (executable)
@@ -162,7 +162,7 @@ class DockerDownloader(ConcurrentDownloader):
                 # if docker mirroring repository is set
                 image_name_split = image_name.split('/')
                 if (len(image_name_split) > 1) \
-                   and (image_name_split[0].find(".")) \
+                   and (image_name_split[0].find(".")) >= 0 \
                    and not (image_name.startswith('docker.io/')) \
                    and (image_name_split[0] not in self._mirror_exclude):
                     # if image originates from private registry and its name does not start with 'docker.io'