From 290f1b1e00fd3b828c9e8c24c0277f4c85c6366c Mon Sep 17 00:00:00 2001 From: bartoszmajsak Date: Fri, 6 Oct 2023 08:31:52 +0200 Subject: [PATCH] chore: removes dead code reported bug instead https://github.com/opendatahub-io/opendatahub-operator/issues/617 --- pkg/servicemesh/servicemesh_setup.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/servicemesh/servicemesh_setup.go b/pkg/servicemesh/servicemesh_setup.go index a6c94202af3..843eaa119c9 100644 --- a/pkg/servicemesh/servicemesh_setup.go +++ b/pkg/servicemesh/servicemesh_setup.go @@ -37,13 +37,6 @@ func (s *ServiceMeshInitializer) Prepare() error { return errors.New(reason) } - // TODO rework how this should be handled (reverse control - component calls it instead?) - /* - if err := s.addOssmEnvFile("USE_ISTIO", "true", "ISTIO_GATEWAY", fmt.Sprintf("%s/%s", pluginSpec.AppNamespace, "odh-gateway")); err != nil { - return errors.WithStack(err) - } - */ - return s.defineFeatures(s) }