fix: deep copy of passHostHeader on ServersLoadBalancer.
This commit is contained in:
parent
2b00ab3432
commit
3747eb59ea
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue