Revert "Add support for checking incoming RabbitMQ version"

This reverts commit 36a7cd053d5b13ecc9fad1866f244a733fdd58e5.

Reason for revert: feature not needed anymore, see here:
https://review.opendev.org/c/openstack/kolla-ansible/+/926146/comment/e593d721_7c48143b/

Change-Id: Ic0f9521c66240f13ff5b7fc94480dbbb76498339
This commit is contained in:
Matt Crees 2024-08-28 11:05:50 +00:00 committed by Gerrit Code Review
parent 36a7cd053d
commit 423a73d9d1
2 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,6 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" version_check=true
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block rabbitmq_header %}{% endblock %}

View File

@ -24,8 +24,3 @@ fi
if [[ $(stat -c %a ${RABBITMQ_LOG_DIR}) != "755" ]]; then
chmod 755 ${RABBITMQ_LOG_DIR}
fi
if [[ "${!KOLLA_RABBITMQ_VERSION_CHECK[@]}" ]]; then
rabbitmqctl --version
exit 0
fi