File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ _start_haproxy() {
9292 BACKENDS=" -f /etc/haproxy/1-backends.conf"
9393 envsubst < /etc/haproxy/1-backends.conf.template > /etc/haproxy/1-backends.conf
9494 MINIO_FILE=" "
95- if [ " $CODECOV_GATEWAY_MINIO_ENABLED " ]; then
95+ if [ " $CODECOV_GATEWAY_MINIO_ENABLED " ] && [ " $routing_map " != " proxy " ] ; then
9696 echo ' Codecov gateway minio enabled'
9797 if [ $CODECOV_MINIO_SCHEME = " https" ]; then
9898 export CODECOV_MINIO_SSL_FLAG=$ssl_string
9999 fi
100100 envsubst < /etc/haproxy/1-minio.conf.template > /etc/haproxy/1-minio.conf
101- cat /etc/haproxy/minio.map >> /etc/haproxy/routing .map
101+ cat /etc/haproxy/minio.map >> /etc/haproxy/codecov .map
102102 MINIO_FILE=" -f /etc/haproxy/1-minio.conf"
103103 fi
104104 echo " Starting haproxy"
You can’t perform that action at this time.
0 commit comments