Skip to content

Commit

Permalink
issue-5100: minor cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: SANSKARJAIN2 <[email protected]>
  • Loading branch information
SANSKARJAIN2 committed Nov 9, 2022
1 parent 3c52cab commit 81e7b65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/webhooks/resource/generation/generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
fakekyvernov1 "github.com/kyverno/kyverno/pkg/client/clientset/versioned/fake"
kyvernoinformers "github.com/kyverno/kyverno/pkg/client/informers/externalversions"

// "github.com/kyverno/kyverno/pkg/client/informers/externalversions/kyverno"
kyvernov1beta1 "github.com/kyverno/kyverno/api/kyverno/v1beta1"
"github.com/kyverno/kyverno/pkg/clients/dclient"
"github.com/kyverno/kyverno/pkg/config"
Expand Down Expand Up @@ -288,7 +287,7 @@ func Test_updateFeildsInSourceAndUpdatedResource(t *testing.T) {
},
},
}
//

for _, tc := range testcases {
o, n := stripNonPolicyFields(tc.obj, tc.newRes, logr.Discard())
assert.Assert(t, reflect.DeepEqual(tc.expectedObj, o))
Expand Down

0 comments on commit 81e7b65

Please sign in to comment.