Skip to content

Commit 9b40af4

Browse files
committed
[deps/rabbitmq_aws] Typos
1 parent f39570c commit 9b40af4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

deps/rabbitmq_aws/src/rabbitmq_aws.erl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
-spec get(Service :: string(),
4343
Path :: path()) -> result().
4444
%% @doc Perform a HTTP GET request to the AWS API for the specified service. The
45-
%% response will automatically be decoded if it is either in JSON or XML
45+
%% response will automatically be decoded if it is either in JSON, or XML
4646
%% format.
4747
%% @end
4848
get(Service, Path) ->
@@ -243,7 +243,7 @@ handle_msg(_Request, State) ->
243243
-spec endpoint(State :: state(), Host :: string(),
244244
Service :: string(), Path :: string()) -> string().
245245
%% @doc Return the endpoint URL, either by constructing it with the service
246-
%% information passed in or by using the passed in Host value.
246+
%% information passed in, or by using the passed in Host value.
247247
%% @ednd
248248
endpoint(#state{region = Region}, undefined, Service, Path) ->
249249
lists:flatten(["https://", endpoint_host(Region, Service), Path]);
@@ -354,9 +354,8 @@ local_time() ->
354354

355355

356356
-spec maybe_decode_body(ContentType :: {nonempty_string(), nonempty_string()}, Body :: body()) -> list() | body().
357-
%% @doc Attempt to decode the response body based upon the mime type that is
358-
%% presented.
359-
%% @end.
357+
%% @doc Attempt to decode the response body by its MIME
358+
%% @end
360359
maybe_decode_body({"application", "x-amz-json-1.0"}, Body) ->
361360
rabbitmq_aws_json:decode(Body);
362361
maybe_decode_body({"application", "json"}, Body) ->

0 commit comments

Comments
 (0)