Skip to content

Commit

Permalink
Merge branch 'devel' into update_dep_config
Browse files Browse the repository at this point in the history
  • Loading branch information
tpantelis authored Feb 6, 2025
2 parents af5aa4d + 6d7b7d6 commit 141aa5e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/event/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/tools/cache"
logf "sigs.k8s.io/controller-runtime/pkg/log"
)
Expand Down Expand Up @@ -119,11 +118,6 @@ func New(config *Config) (*Controller, error) {
return nil, errors.Wrap(err, "error processing env vars")
}

err = subv1.AddToScheme(scheme.Scheme)
if err != nil {
return nil, errors.Wrap(err, "error adding submariner types to the scheme")
}

syncerConfig := &syncer.ResourceSyncerConfig{
SourceNamespace: env.Namespace,
SourceClient: config.Client,
Expand Down

0 comments on commit 141aa5e

Please sign in to comment.