Skip to content

Commit 6bf4a99

Browse files
Update a mock expectation
1 parent 59ebb83 commit 6bf4a99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbitmq_aws/src/rabbitmq_aws.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ api_get_request(Service, Path) ->
550550
%% @doc Invoke an API call to an AWS service with retries.
551551
%% @end
552552
api_get_request_with_retries(_, _, 0, _) ->
553-
rabbit_log:warning("Request to AWS service has failed after ~b retries.", [?MAX_RETRIES]),
554-
{error, "AWS service is unavailable."};
553+
rabbit_log:warning("Request to AWS service has failed after ~b retries", [?MAX_RETRIES]),
554+
{error, "AWS service is unavailable"};
555555
api_get_request_with_retries(Service, Path, Retries, WaitTimeBetweenRetries) ->
556556
ensure_credentials_valid(),
557557
case get(Service, Path) of

0 commit comments

Comments
 (0)