diff --git a/pkg/controller/che/che_controller_test.go b/pkg/controller/che/che_controller_test.go index ad6b03102..6b2f3e150 100644 --- a/pkg/controller/che/che_controller_test.go +++ b/pkg/controller/che/che_controller_test.go @@ -27,7 +27,6 @@ import ( routev1 "github.com/openshift/api/route/v1" userv1 "github.com/openshift/api/user/v1" "github.com/sirupsen/logrus" - "gopkg.in/yaml.v2" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" rbacapi "k8s.io/api/rbac/v1" @@ -46,7 +45,6 @@ import ( func init() { operator := &appsv1.Deployment{} data, err := ioutil.ReadFile("../../../deploy/operator.yaml") - yaml.Unmarshal(data, operator) if err == nil { for _, env := range operator.Spec.Template.Spec.Containers[0].Env { os.Setenv(env.Name, env.Value)