Skip to content

Commit

Permalink
chore: remove repetitive words (#10507)
Browse files Browse the repository at this point in the history
Signed-off-by: veryyet <zhengxingru@outlook.com>
  • Loading branch information
Smith Chang committed Apr 3, 2024
1 parent f1fbc5e commit acd38e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion localstack/services/lambda_/invocation/version_manager.py
Expand Up @@ -203,7 +203,7 @@ def invoke(self, *, invocation: Invocation) -> InvocationResult:
self.function, self.function_version
) as provisioning_type:
# TODO: potential race condition when changing provisioned concurrency after getting the lease but before
# getting an an environment
# getting an environment
try:
# Blocks and potentially creates a new execution environment for this invocation
with self.assignment_service.get_environment(
Expand Down
2 changes: 1 addition & 1 deletion localstack/utils/aws/request_context.py
Expand Up @@ -48,7 +48,7 @@ def get_proxy_request_for_thread():

def get_flask_request_for_thread():
try:
# Append/cache a converted request (requests.Request) to the the thread-local Flask request.
# Append/cache a converted request (requests.Request) to the thread-local Flask request.
# We use this request object as the invocation context, which may be modified in other places,
# e.g., when manually configuring the region in the request context of an incoming API call.
if not hasattr(request, "_converted_request"):
Expand Down
2 changes: 1 addition & 1 deletion localstack/utils/http.py
Expand Up @@ -292,7 +292,7 @@ def do_download(
except Exception as e:
if print_error:
LOG.info(
"Unable to download Github artifact from from %s to %s: %s %s"
"Unable to download Github artifact from %s to %s: %s %s"
% (url, target_file, e, traceback.format_exc())
)

Expand Down

0 comments on commit acd38e4

Please sign in to comment.