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() {
92
92
BACKENDS=" -f /etc/haproxy/1-backends.conf"
93
93
envsubst < /etc/haproxy/1-backends.conf.template > /etc/haproxy/1-backends.conf
94
94
MINIO_FILE=" "
95
- if [ " $CODECOV_GATEWAY_MINIO_ENABLED " ]; then
95
+ if [ " $CODECOV_GATEWAY_MINIO_ENABLED " ] && [ " $routing_map " != " proxy " ] ; then
96
96
echo ' Codecov gateway minio enabled'
97
97
if [ $CODECOV_MINIO_SCHEME = " https" ]; then
98
98
export CODECOV_MINIO_SSL_FLAG=$ssl_string
99
99
fi
100
100
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
102
102
MINIO_FILE=" -f /etc/haproxy/1-minio.conf"
103
103
fi
104
104
echo " Starting haproxy"
You can’t perform that action at this time.
0 commit comments