Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def update_async(resource_group_name, automation_account_name, configuration_nam
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [String] operation results.
# @return [NOT_IMPLEMENTED] operation results.
#
def get_content(resource_group_name, automation_account_name, configuration_name, custom_headers = nil)
response = get_content_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value!
Expand Down Expand Up @@ -511,7 +511,7 @@ def get_content_async(resource_group_name, automation_account_name, configuratio
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end

result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
Expand All @@ -523,7 +523,7 @@ def get_content_async(resource_group_name, automation_account_name, configuratio
required: false,
serialized_name: 'parsed_response',
type: {
name: 'String'
name: 'Stream'
}
}
result.body = @client.deserialize(result_mapper, parsed_response)
Expand Down