1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 21:32:10 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2018-04-02 15:56:39 -07:00
parent d27b2a4708
commit e98aadcf96
10 changed files with 20 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@@ -31,7 +32,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@@ -31,7 +32,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}