diff --git a/pkg/k8s/k8s_namespace_test.go b/pkg/k8s/k8s_namespace_test.go index 49ae732..9f10013 100644 --- a/pkg/k8s/k8s_namespace_test.go +++ b/pkg/k8s/k8s_namespace_test.go @@ -228,7 +228,7 @@ func (s *TestSuite) TestNamespaceExists() { }) }, expectedExist: false, - expectedErr: k8s.ErrGettingNamespace.WithParams("error-namespace").Wrap(errInternalServerError), + expectedErr: errInternalServerError, }, } diff --git a/pkg/knuu/knuu.go b/pkg/knuu/knuu.go index a2e1f72..01feb48 100644 --- a/pkg/knuu/knuu.go +++ b/pkg/knuu/knuu.go @@ -49,8 +49,6 @@ type Options struct { } func New(ctx context.Context, opts Options) (*Knuu, error) { - opts.TestScope = k8s.SanitizeName(opts.TestScope) - if err := validateOptions(opts); err != nil { return nil, err }