Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit bc906a7

Browse files
authored
Update apps_v1beta1_api.rb
1 parent 5cdc0e0 commit bc906a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kubernetes/lib/kubernetes/api/apps_v1beta1_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ def read_namespaced_stateful_set_status_with_http_info(name, namespace, opts = {
22532253
# @option opts [String] :pretty If 'true', then the output is pretty printed.
22542254
# @return [V1beta1ControllerRevision]
22552255
def replace_namespaced_controller_revision(name, namespace, body, opts = {})
2256-
data, _status_code, _headers = replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts)
2256+
data, _status_code, _headers = (_revision_with_http_info(name, namespace, body, opts)
22572257
return data
22582258
end
22592259

@@ -2352,7 +2352,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {
23522352
fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_deployment"
23532353
end
23542354
# resource path
2355-
local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2355+
local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
23562356

23572357
# query parameters
23582358
query_params = {}
@@ -2363,7 +2363,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {
23632363
# HTTP header 'Accept' (if needed)
23642364
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
23652365
# HTTP header 'Content-Type'
2366-
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2366+
header_params['Content-Type'] = 'application/json' # @api_client.select_header_content_type(['*/*'])
23672367

23682368
# form parameters
23692369
form_params = {}

0 commit comments

Comments
 (0)