mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
Clean up commented out lines of code (#3263)
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
This commit is contained in:
parent
ae7e636687
commit
25ffa1abd1
1 changed files with 0 additions and 27 deletions
|
@ -345,33 +345,6 @@ func (in *Rule) DeepCopyInto(out *Rule) {
|
|||
// never should get here
|
||||
return
|
||||
}
|
||||
// *out = *in
|
||||
// if in.Context != nil {
|
||||
// in, out := &in.Context, &out.Context
|
||||
// *out = make([]ContextEntry, len(*in))
|
||||
// for i := range *in {
|
||||
// (*in)[i].DeepCopyInto(&(*out)[i])
|
||||
// }
|
||||
// }
|
||||
// in.MatchResources.DeepCopyInto(&out.MatchResources)
|
||||
// in.ExcludeResources.DeepCopyInto(&out.ExcludeResources)
|
||||
// if in.AnyAllConditions != nil {
|
||||
// out.AnyAllConditions = in.AnyAllConditions
|
||||
// }
|
||||
// in.Mutation.DeepCopyInto(&out.Mutation)
|
||||
// in.Validation.DeepCopyInto(&out.Validation)
|
||||
// in.Generation.DeepCopyInto(&out.Generation)
|
||||
// if in.VerifyImages != nil {
|
||||
// in, out := &in.VerifyImages, &out.VerifyImages
|
||||
// *out = make([]*ImageVerification, len(*in))
|
||||
// for i := range *in {
|
||||
// if (*in)[i] != nil {
|
||||
// in, out := &(*in)[i], &(*out)[i]
|
||||
// *out = new(ImageVerification)
|
||||
// **out = **in
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
// ToKey generates the key string used for adding label to polivy violation
|
||||
|
|
Loading…
Reference in a new issue