From b3c4a776c39ac5461de2a84bb5bc6ae8bcce09b9 Mon Sep 17 00:00:00 2001 From: Robin James Kerrison <7150842+rjkerrison@users.noreply.github.com> Date: Thu, 14 Aug 2025 15:38:58 +0200 Subject: [PATCH] improving language of the templates change message --- samcli/lib/providers/sam_function_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samcli/lib/providers/sam_function_provider.py b/samcli/lib/providers/sam_function_provider.py index 5787fb409f..f9c0d72697 100644 --- a/samcli/lib/providers/sam_function_provider.py +++ b/samcli/lib/providers/sam_function_provider.py @@ -892,7 +892,7 @@ def get_resources_by_stack_path(self, stack_path: str) -> Dict: def _set_templates_changed(self, paths: List[str]) -> None: LOG.info( - "A change got detected in the templates %s. Mark templates as changed to be reloaded in the next invoke", + "A change has been detected in the templates %s. Marking templates as changed to be reloaded in the next invoke", ", ".join(paths), ) self.is_changed = True @@ -910,7 +910,7 @@ def _refresh_loaded_functions(self) -> None: """ Reload the stacks, and lambda functions from template files. """ - LOG.debug("A change got detected in one of the stack templates. Reload the lambda function resources") + LOG.debug("A change has been detected in one of the stack templates. Reload the lambda function resources") self._stacks = [] for template_file in self.parent_templates_paths: