@@ -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