diff --git a/operator/handler/handler_test.go b/operator/handler/handler_test.go index bd3cf726..14773870 100644 --- a/operator/handler/handler_test.go +++ b/operator/handler/handler_test.go @@ -71,11 +71,7 @@ var _ = Describe("handler", func() { Expect(err).ToNot(HaveOccurred()) }) - decoder, err := admission.NewDecoder(scheme.Scheme) - It("creates decoder without any errors", func() { - Expect(err).ToNot(HaveOccurred()) - - }) + decoder := admission.NewDecoder(scheme.Scheme) podExtender := PodExtender{ Client: k8sClient, @@ -154,11 +150,7 @@ var _ = Describe("handler", func() { Expect(err).ToNot(HaveOccurred()) }) - decoder, err := admission.NewDecoder(scheme.Scheme) - It("creates decoder without any errors", func() { - Expect(err).ToNot(HaveOccurred()) - - }) + decoder := admission.NewDecoder(scheme.Scheme) podExtender := PodExtender{ Client: k8sClient,