diff --git a/config/context.go b/config/context.go index 229a742b..223723ef 100644 --- a/config/context.go +++ b/config/context.go @@ -3,7 +3,6 @@ package config import ( "context" - "github.com/pkg/errors" "github.com/rancher/norman/controller" "github.com/rancher/norman/event" "github.com/rancher/norman/restwatch" @@ -361,11 +360,6 @@ func NewUserContext(scaledContext *ScaledContext, config rest.Config, clusterNam return nil, err } - _, err = context.K8sClient.Discovery().ServerVersion() - if err != nil { - return nil, errors.Wrap(err, "could not contact server") - } - context.Apps, err = appsv1beta2.NewForConfig(config) if err != nil { return nil, err