summaryrefslogtreecommitdiffstats
path: root/src/monitor/cmd/manager
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor/cmd/manager')
-rw-r--r--src/monitor/cmd/manager/main.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/monitor/cmd/manager/main.go b/src/monitor/cmd/manager/main.go
index 67783f83..d056f394 100644
--- a/src/monitor/cmd/manager/main.go
+++ b/src/monitor/cmd/manager/main.go
@@ -11,7 +11,6 @@ import (
"github.com/onap/multicloud-k8s/src/monitor/pkg/controller"
"github.com/operator-framework/operator-sdk/pkg/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/leader"
- "github.com/operator-framework/operator-sdk/pkg/restmapper"
sdkVersion "github.com/operator-framework/operator-sdk/version"
"github.com/spf13/pflag"
"sigs.k8s.io/controller-runtime/pkg/client/config"
@@ -81,7 +80,6 @@ func main() {
// Create a new Cmd to provide shared dependencies and start components
mgr, err := manager.New(cfg, manager.Options{
Namespace: namespace,
- MapperProvider: restmapper.NewDynamicRESTMapper,
MetricsBindAddress: fmt.Sprintf("%s:%d", metricsHost, metricsPort),
})
if err != nil {