fix: deep copy of passHostHeader on ServersLoadBalancer.

This commit is contained in:
Ludovic Fernandez 2019-10-25 14:40:05 +02:00 committed by Traefiker Bot
parent 2b00ab3432
commit 3747eb59ea

View file

@ -973,6 +973,11 @@ func (in *ServersLoadBalancer) DeepCopyInto(out *ServersLoadBalancer) {
*out = new(HealthCheck) *out = new(HealthCheck)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
if in.PassHostHeader != nil {
in, out := &in.PassHostHeader, &out.PassHostHeader
*out = new(bool)
**out = **in
}
if in.ResponseForwarding != nil { if in.ResponseForwarding != nil {
in, out := &in.ResponseForwarding, &out.ResponseForwarding in, out := &in.ResponseForwarding, &out.ResponseForwarding
*out = new(ResponseForwarding) *out = new(ResponseForwarding)