Skip to content

Commit 44acae3

Browse files
committed
Fix build of prometheus-ovn-exporter
This patch fixed build of prometheus-ovn-exporter when building with --image-name-prefix option. Closes-Bug: #2076249 Change-Id: I5ba67d6e4bbe1b6d6caa842715b56720a027dc76
1 parent 3c130f2 commit 44acae3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docker/prometheus/prometheus-ovn-exporter/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM {{ namespace }}/{{ infra_image_prefix }}prometheus-base:{{ tag }}
1+
FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
22
{% block labels %}
33
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
44
{% endblock %}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue where prometheus-ovn-exporter will fail to build
5+
if build was triggered with --image-name-prefix option.
6+
`LP#2076249 <https://launchpad.net/bugs/2076249>`__

0 commit comments

Comments
 (0)