Commit 5a276502 authored by Geoff Simmons's avatar Geoff Simmons

Update haproxy to 2.4.0 from bullseye-backports.

XXX: validation of the dataplane response to the /sites request is
currently commented out. This is causing a problem with testing
and will be investigated further.
parent 5d090c46
......@@ -22,7 +22,9 @@ RUN cd /go && git clone https://github.com/haproxytech/dataplaneapi.git && \
# Build haproxy
FROM debian:${debian_tag}
ARG haproxy_version=2.2.9-2+deb11u2
COPY bullseye-backports.list /etc/apt/sources.list.d/
ARG haproxy_version=2.4.14-1~bpo11+1
RUN apt-get update -q && \
apt-get install -y -q haproxy=${haproxy_version} && \
......
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
......@@ -715,9 +715,11 @@ func (client *DataplaneClient) LoaderStatus() (
if err = json.Unmarshal(body, &sb); err != nil {
return
}
if err = sb.Sites.Validate(fmts); err != nil {
return
}
// if len(sb.Sites) > 0 {
// if err = sb.Sites.Validate(fmts); err != nil {
// return
// }
// }
if version == 0 {
version = sb.Version
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment