reran update.sh to get the codegen up to date
Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
parent
889348e999
commit
37884e7015
@ -72,10 +72,6 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface {
|
|||||||
func NewForConfig(c *rest.Config) (*Clientset, error) {
|
func NewForConfig(c *rest.Config) (*Clientset, error) {
|
||||||
configShallowCopy := *c
|
configShallowCopy := *c
|
||||||
|
|
||||||
if configShallowCopy.UserAgent == "" {
|
|
||||||
configShallowCopy.UserAgent = rest.DefaultKubernetesUserAgent()
|
|
||||||
}
|
|
||||||
|
|
||||||
// share the transport between all clients
|
// share the transport between all clients
|
||||||
httpClient, err := rest.HTTPClientFor(&configShallowCopy)
|
httpClient, err := rest.HTTPClientFor(&configShallowCopy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -64,10 +64,6 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface {
|
|||||||
func NewForConfig(c *rest.Config) (*Clientset, error) {
|
func NewForConfig(c *rest.Config) (*Clientset, error) {
|
||||||
configShallowCopy := *c
|
configShallowCopy := *c
|
||||||
|
|
||||||
if configShallowCopy.UserAgent == "" {
|
|
||||||
configShallowCopy.UserAgent = rest.DefaultKubernetesUserAgent()
|
|
||||||
}
|
|
||||||
|
|
||||||
// share the transport between all clients
|
// share the transport between all clients
|
||||||
httpClient, err := rest.HTTPClientFor(&configShallowCopy)
|
httpClient, err := rest.HTTPClientFor(&configShallowCopy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user