From d5fe4f9cbb6d3c798bd30d16056998c03fffdd63 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 23 Jan 2024 17:10:33 +0000 Subject: [PATCH] Generate services --- services/argus/client.go | 2 +- services/dns/client.go | 2 +- services/loadbalancer/client.go | 2 +- services/logme/client.go | 2 +- services/mariadb/client.go | 2 +- services/membership/client.go | 2 +- services/mongodbflex/client.go | 2 +- services/objectstorage/client.go | 2 +- services/opensearch/client.go | 2 +- services/postgresflex/client.go | 2 +- services/postgresql/client.go | 2 +- services/rabbitmq/client.go | 2 +- services/redis/client.go | 2 +- services/resourcemanager/client.go | 2 +- services/secretsmanager/client.go | 2 +- services/serviceaccount/client.go | 2 +- services/ske/client.go | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/services/argus/client.go b/services/argus/client.go index c39ef130c..553b14481 100644 --- a/services/argus/client.go +++ b/services/argus/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/dns/client.go b/services/dns/client.go index ab8e9028c..2382cf671 100644 --- a/services/dns/client.go +++ b/services/dns/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/loadbalancer/client.go b/services/loadbalancer/client.go index 7de57f53e..4d8186758 100644 --- a/services/loadbalancer/client.go +++ b/services/loadbalancer/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/logme/client.go b/services/logme/client.go index 91739963a..236058570 100644 --- a/services/logme/client.go +++ b/services/logme/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/mariadb/client.go b/services/mariadb/client.go index 4fc8ecca1..ab3d3a1cf 100644 --- a/services/mariadb/client.go +++ b/services/mariadb/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/membership/client.go b/services/membership/client.go index 460d7b90a..21c30df98 100644 --- a/services/membership/client.go +++ b/services/membership/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/mongodbflex/client.go b/services/mongodbflex/client.go index 6ad7e90d6..414a0d33e 100644 --- a/services/mongodbflex/client.go +++ b/services/mongodbflex/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/objectstorage/client.go b/services/objectstorage/client.go index d7deaf62e..a98e023d6 100644 --- a/services/objectstorage/client.go +++ b/services/objectstorage/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/opensearch/client.go b/services/opensearch/client.go index d4dff7161..ed2747e2b 100644 --- a/services/opensearch/client.go +++ b/services/opensearch/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/postgresflex/client.go b/services/postgresflex/client.go index c556a32df..571ab31b4 100644 --- a/services/postgresflex/client.go +++ b/services/postgresflex/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/postgresql/client.go b/services/postgresql/client.go index 152154eed..b0003b0dc 100644 --- a/services/postgresql/client.go +++ b/services/postgresql/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/rabbitmq/client.go b/services/rabbitmq/client.go index 5f66bf813..de645045d 100644 --- a/services/rabbitmq/client.go +++ b/services/rabbitmq/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/redis/client.go b/services/redis/client.go index f36c495b3..09aa195f5 100644 --- a/services/redis/client.go +++ b/services/redis/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/resourcemanager/client.go b/services/resourcemanager/client.go index 18602c36b..6395e9eee 100644 --- a/services/resourcemanager/client.go +++ b/services/resourcemanager/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/secretsmanager/client.go b/services/secretsmanager/client.go index f3d4fa330..a34f4ac2e 100644 --- a/services/secretsmanager/client.go +++ b/services/secretsmanager/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/serviceaccount/client.go b/services/serviceaccount/client.go index 707ab1a02..d9cb800b9 100644 --- a/services/serviceaccount/client.go +++ b/services/serviceaccount/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg) diff --git a/services/ske/client.go b/services/ske/client.go index b8cabb024..818b18a4d 100644 --- a/services/ske/client.go +++ b/services/ske/client.go @@ -72,7 +72,7 @@ func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) { } if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient + cfg.HTTPClient = &http.Client{} } authRoundTripper, err := auth.SetupAuth(cfg)