mirror of https://github.com/linkerd/linkerd2.git
Update generated serviceprofile code (#5580)
I ran `bin/update-codegen.sh` to update the generated code to include the opaque ports in the generated deepcopy function for service profiles. Signed-off-by: Alex Leong <alex@buoyant.io>
This commit is contained in:
parent
4f0601e632
commit
964ce11559
|
@ -290,6 +290,13 @@ func (in *ServiceProfileSpec) DeepCopyInto(out *ServiceProfileSpec) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if in.OpaquePorts != nil {
|
||||
in, out := &in.OpaquePorts, &out.OpaquePorts
|
||||
*out = make(map[uint32]struct{}, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue