mirror of
https://github.com/rancher/types.git
synced 2025-06-22 11:47:03 +00:00
Don't test server at this point
This commit is contained in:
parent
62111462fe
commit
1b61abc00e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user